segfault fix patch by (Juergen Keil <jk at tools dot de>)
[ffmpeg.git] / 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;
 }