You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit 'c8fa647811371885be421a84a2388529857fed23'
* commit 'c8fa647811371885be421a84a2388529857fed23': oggparsespeex: Fix unchecked malloc Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
@@ -47,6 +47,8 @@ static int speex_header(AVFormatContext *s, int idx) {
|
|||||||
|
|
||||||
if (!spxp) {
|
if (!spxp) {
|
||||||
spxp = av_mallocz(sizeof(*spxp));
|
spxp = av_mallocz(sizeof(*spxp));
|
||||||
|
if (!spxp)
|
||||||
|
return AVERROR(ENOMEM);
|
||||||
os->private = spxp;
|
os->private = spxp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user