mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 09:02:20 +00:00
Merge commit 'fd2384f02b905a106fba9222ece4ddbe2ec61937'
* commit 'fd2384f02b905a106fba9222ece4ddbe2ec61937': oggparsevorbis: fail on memory allocation error Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
0c7bd34023
@ -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