segfault fix patch by (Juergen Keil <jk at tools dot de>)
authorJürgen Keil <jk@tools.de>
Sat, 26 Oct 2002 18:56:43 +0000 (18:56 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Oct 2002 18:56:43 +0000 (18:56 +0000)
Originally committed as revision 1073 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263.c

index 09049c1d223ebb99a9c83a8c19be286c0c3cb161..8fb9c06b75244055259e841354157340eb239bb3 100644 (file)
@@ -4644,6 +4644,10 @@ int intel_h263_decode_picture_header(MpegEncContext *s)
         skip_bits(&s->gb, 8);
     }
     s->f_code = 1;
+
+    s->y_dc_scale_table=
+    s->c_dc_scale_table= ff_mpeg1_dc_scale_table;
+
     return 0;
 }