diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-07-16 00:48:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-07-16 00:48:29 +0000 |
commit | 94aec31fa06f6715820147471565e716ef112fd7 (patch) | |
tree | a49d5f834a9aaee02fc47bb1b1ff83dd4190572d /libavcodec/mpeg12.c | |
parent | 760acb18a347d2265afd34d174647c119035aef4 (diff) | |
download | ffmpeg-94aec31fa06f6715820147471565e716ef112fd7.tar.gz |
dr1
Originally committed as revision 764 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index fab6d1aef8..d38b5e6bfd 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1231,6 +1231,7 @@ static int mpeg_decode_init(AVCodecContext *avctx) { Mpeg1Context *s = avctx->priv_data; + s->mpeg_enc_ctx.flags= avctx->flags; common_init(&s->mpeg_enc_ctx); s->header_state = 0xff; @@ -1242,7 +1243,6 @@ static int mpeg_decode_init(AVCodecContext *avctx) s->repeat_field = 0; s->mpeg_enc_ctx.codec_id= avctx->codec->id; avctx->mbskip_table= s->mpeg_enc_ctx.mbskip_table; - s->mpeg_enc_ctx.flags= avctx->flags; return 0; } @@ -1764,4 +1764,5 @@ AVCodec mpeg_decoder = { NULL, mpeg_decode_end, mpeg_decode_frame, + CODEC_CAP_DR1, }; |