diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-12 00:18:59 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-12 00:19:22 +0100 |
commit | 98437465704ddd2145cb9b41f683a36d3cefede6 (patch) | |
tree | f217cc7b835cfc3df1fb6440c155a0241ff96216 /libavcodec | |
parent | 0bcb040a2ec9138a8da2ea67170e9f738259423f (diff) | |
download | ffmpeg-98437465704ddd2145cb9b41f683a36d3cefede6.tar.gz |
avcodec/mpegvideo_enc: correctly initialize chroma_intra_matrix for MPEG1/2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index cb6ac28d34..16f88aa85d 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -907,6 +907,7 @@ av_cold int ff_mpv_encode_init(AVCodecContext *avctx) s->inter_matrix[j] = ff_mpeg1_default_non_intra_matrix[i]; } else { /* mpeg1/2 */ + s->chroma_intra_matrix[j] = s->intra_matrix[j] = ff_mpeg1_default_intra_matrix[i]; s->inter_matrix[j] = ff_mpeg1_default_non_intra_matrix[i]; } |