diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-12-17 11:31:56 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-12-17 11:31:56 +0000 |
commit | 63d33cf4390a9280b1ba42ee722f3140cf1cad3e (patch) | |
tree | ea17d9ff664665dadf19500c74c50c5acccf8d6d /libavcodec/svq3.c | |
parent | 725e38777fa929420cdd62e3809e46abe9403aea (diff) | |
download | ffmpeg-63d33cf4390a9280b1ba42ee722f3140cf1cad3e.tar.gz |
bitstream related fixes from [PATCH] from DivX, Part 9: bitstream crashes by (Steve Lhomme | slhomme divxcorp com)
Originally committed as revision 4747 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index f0f995acfa..9f80ee0282 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -829,7 +829,7 @@ static int svq3_decode_frame (AVCodecContext *avctx, GetBitContext gb; size = BE_32(&extradata[4]); - init_get_bits (&gb, extradata + 8, size); + init_get_bits (&gb, extradata + 8, size*8); /* 'frame size code' and optional 'width, height' */ if (get_bits (&gb, 3) == 7) { |