Browse Source

avcodec/mpegvideo_enc: correctly initialize chroma_intra_matrix for MPEG1/2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 11 years ago
parent
commit
9843746570
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/mpegvideo_enc.c

+ 1
- 0
libavcodec/mpegvideo_enc.c View File

@@ -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];
}


Loading…
Cancel
Save