aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp3.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-08-16 01:25:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-08-16 01:25:52 +0000
commit8a515d2d9cf2e3795cb893522d6d99a8da10375a (patch)
tree47b360fa84ca249d6a1c474738a3a3d434d7692f /libavcodec/vp3.c
parent6d45cb72195db3a996592c6f9fae65ce1f76ca34 (diff)
downloadffmpeg-8a515d2d9cf2e3795cb893522d6d99a8da10375a.tar.gz
get_bits(32) fix
Originally committed as revision 3393 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r--libavcodec/vp3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 5b3f1b9260..f070040fe1 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -2719,16 +2719,16 @@ static int theora_decode_comments(AVCodecContext *avctx, GetBitContext gb)
{
int nb_comments, i, tmp;
- tmp = get_bits(&gb, 32);
+ tmp = get_bits_long(&gb, 32);
tmp = be2me_32(tmp);
while(tmp--)
skip_bits(&gb, 8);
- nb_comments = get_bits(&gb, 32);
+ nb_comments = get_bits_long(&gb, 32);
nb_comments = be2me_32(nb_comments);
for (i = 0; i < nb_comments; i++)
{
- tmp = get_bits(&gb, 32);
+ tmp = get_bits_long(&gb, 32);
tmp = be2me_32(tmp);
while(tmp--)
skip_bits(&gb, 8);