diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-29 21:35:21 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-29 21:36:20 +0100 |
commit | e18e5ae62ce29c51a80441369d6d036d171a8d13 (patch) | |
tree | af3beaf00ede3f5e861cd0599343e780236923da /libavcodec | |
parent | 56252a5e097946be03ba67664d5efc20703a17a1 (diff) | |
parent | 302ca6b20ed01ac584f5b15d5bca3d3a92b7a77a (diff) | |
download | ffmpeg-e18e5ae62ce29c51a80441369d6d036d171a8d13.tar.gz |
Merge commit '302ca6b20ed01ac584f5b15d5bca3d3a92b7a77a'
* commit '302ca6b20ed01ac584f5b15d5bca3d3a92b7a77a':
mpegvideo_enc: initialize the encoding context
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 1ecf4aacfb..0f6313eb55 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -2725,7 +2725,7 @@ static int encode_thread(AVCodecContext *c, void *arg){ int mb_x, mb_y, pdif = 0; int chr_h= 16>>s->chroma_y_shift; int i, j; - MpegEncContext best_s, backup_s; + MpegEncContext best_s = { 0 }, backup_s; uint8_t bit_buf[2][MAX_MB_BYTES]; uint8_t bit_buf2[2][MAX_MB_BYTES]; uint8_t bit_buf_tex[2][MAX_MB_BYTES]; |