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
mpegvideo_enc: Check AVCodecContext allocation
tags/n2.7
Vittorio Giovara
10 years ago
parent
78c8922841
commit
a72d93daa0
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/mpegvideo_enc.c
+ 2
- 0
libavcodec/mpegvideo_enc.c
View File
@@ -1136,6 +1136,8 @@ static int estimate_best_b_count(MpegEncContext *s)
int64_t best_rd = INT64_MAX;
int best_b_count = -1;
if (!c)
return AVERROR(ENOMEM);
assert(scale >= 0 && scale <= 3);
//emms_c();
Write
Preview
Loading…
Cancel
Save