mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 18:49:58 +00:00
oggparsevorbis: fail on memory allocation error
This commit is contained in:
parent
c18375ec80
commit
fd2384f02b
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user