diff rv10.c @ 1892:5ac49e7a1b8f libavcodec

init cleanup
author michael
date Tue, 16 Mar 2004 16:11:29 +0000
parents 2de13087f46e
children 1c382d137275
line wrap: on
line diff
--- a/rv10.c	Tue Mar 16 15:38:40 2004 +0000
+++ b/rv10.c	Tue Mar 16 16:11:29 2004 +0000
@@ -441,6 +441,8 @@
     MpegEncContext *s = avctx->priv_data;
     static int done=0;
 
+    MPV_decode_defaults(s);
+    
     s->avctx= avctx;
     s->out_format = FMT_H263;
     s->codec_id= avctx->codec_id;
@@ -490,8 +492,6 @@
 
     h263_decode_init_vlc(s);
 
-    s->progressive_sequence=1;
-
     /* init rv vlc */
     if (!done) {
         init_vlc(&rv_dc_lum, DC_VLC_BITS, 256,