changeset 558:5690779adf16 libavcodec

dr1
author michaelni
date Tue, 16 Jul 2002 00:48:29 +0000
parents c1e1be461662
children 468d4800dbf1
files mpeg12.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg12.c	Mon Jul 15 21:19:37 2002 +0000
+++ b/mpeg12.c	Tue Jul 16 00:48:29 2002 +0000
@@ -1231,6 +1231,7 @@
 {
     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 @@
     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 @@
     NULL,
     mpeg_decode_end,
     mpeg_decode_frame,
+    CODEC_CAP_DR1,
 };