Mercurial > libavcodec.hg
changeset 1850:dc8353e2cc5f libavcodec
forgot default chroma_format value
author | iive |
---|---|
date | Tue, 02 Mar 2004 00:40:18 +0000 |
parents | 63eafb5b1c38 |
children | 07a4c1c4b929 |
files | mpeg12.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;