Commit 0c7bd340 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'fd2384f0'

* commit 'fd2384f0':
  oggparsevorbis: fail on memory allocation error
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 77caa31f fd2384f0
......@@ -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++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment