From 384855eebf1aed52e6eb8b0e255b933752c681d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Keil?= Date: Sat, 26 Oct 2002 18:56:43 +0000 Subject: [PATCH] segfault fix patch by (Juergen Keil ) Originally committed as revision 1073 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 09049c1d22..8fb9c06b75 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -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; }