Merge commit 'c8fa647811'
* commit 'c8fa647811':
oggparsespeex: Fix unchecked malloc
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
4aa900acbd
1 changed files with 2 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ static int speex_header(AVFormatContext *s, int idx) {
|
|||
|
||||
if (!spxp) {
|
||||
spxp = av_mallocz(sizeof(*spxp));
|
||||
if (!spxp)
|
||||
return AVERROR(ENOMEM);
|
||||
os->private = spxp;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue