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
adpcmenc: check for coded_frame allocation failure
tags/n0.11
Justin Ruggles
14 years ago
parent
ddf70db6d7
commit
cb023d9afe
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libavcodec/adpcmenc.c
+ 2
- 1
libavcodec/adpcmenc.c
View File
@@ -135,7 +135,8 @@ static av_cold int adpcm_encode_init(AVCodecContext *avctx)
goto error;
}
avctx->coded_frame = avcodec_alloc_frame();
if (!(avctx->coded_frame = avcodec_alloc_frame()))
goto error;
return 0;
error:
Write
Preview
Loading…
Cancel
Save