# HG changeset patch # User iive # Date 1078188018 0 # Node ID dc8353e2cc5ff214f8b77a6d2442b51110f0322f # Parent 63eafb5b1c385ab202753063befd11876bc89160 forgot default chroma_format value diff -r 63eafb5b1c38 -r dc8353e2cc5f mpeg12.c --- a/mpeg12.c Tue Mar 02 00:30:25 2004 +0000 +++ b/mpeg12.c Tue Mar 02 00:40:18 2004 +0000 @@ -2489,6 +2489,7 @@ s->progressive_frame = 1; s->picture_structure = PICT_FRAME; s->frame_pred_frame_dct = 1; + s->chroma_format = 1; s->codec_id= s->avctx->codec_id= CODEC_ID_MPEG1VIDEO; avctx->sub_id = 1; /* indicates mpeg1 */ if(s->flags & CODEC_FLAG_LOW_DELAY) s->low_delay=1; @@ -2547,6 +2548,7 @@ s->progressive_frame = 1; s->picture_structure = PICT_FRAME; s->frame_pred_frame_dct = 1; + s->chroma_format = 1; s->codec_id= s->avctx->codec_id= CODEC_ID_MPEG2VIDEO; avctx->sub_id = 2; /* indicates mpeg2 */ return 0;