aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJürgen Keil <jk@tools.de>2002-10-26 18:56:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-10-26 18:56:43 +0000
commit384855eebf1aed52e6eb8b0e255b933752c681d2 (patch)
tree310f565726083c13ec179b1ceb14ac1a67f62b41 /libavcodec
parent917f58279da045fe512e76dbf90eecdcdbb5ccf9 (diff)
downloadffmpeg-384855eebf1aed52e6eb8b0e255b933752c681d2.tar.gz
segfault fix patch by (Juergen Keil <jk at tools dot de>)
Originally committed as revision 1073 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h263.c4
1 files changed, 4 insertions, 0 deletions
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;
}