This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/wavpack: check for allocation failure
tags/n4.3
Paul B Mahol
6 years ago
parent
2c08cd284d
commit
b3c46e26aa
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavcodec/wavpack.c
+ 3
- 0
libavcodec/wavpack.c
View File
@@ -987,6 +987,9 @@ static int init_thread_copy(AVCodecContext *avctx)
s->curr_frame.f = av_frame_alloc();
s->prev_frame.f = av_frame_alloc();
if (!s->curr_frame.f || !s->prev_frame.f)
return AVERROR(ENOMEM);
return 0;
}
Write
Preview
Loading…
Cancel
Save