projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c18375e
)
oggparsevorbis: fail on memory allocation error
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Sat, 12 Oct 2013 13:37:56 +0000
(15:37 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Sat, 12 Oct 2013 13:37:56 +0000
(15:37 +0200)
libavformat/oggparsevorbis.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/oggparsevorbis.c
b/libavformat/oggparsevorbis.c
index
7468e0d
..
c19b545
100644
(file)
--- a/
libavformat/oggparsevorbis.c
+++ b/
libavformat/oggparsevorbis.c
@@
-120,9
+120,7
@@
int ff_vorbis_comment(AVFormatContext *as, AVDictionary **m,
if (!tt || !ct) {
av_freep(&tt);
av_freep(&ct);
- av_log(as, AV_LOG_WARNING,
- "out-of-memory error. skipping VorbisComment tag.\n");
- continue;
+ return AVERROR(ENOMEM);
}
for (j = 0; j < tl; j++)