diff vp3.c @ 2173:380c40efd6bb libavcodec

get_bits(32) fix
author michael
date Mon, 16 Aug 2004 01:25:52 +0000
parents 4225c131a2eb
children 26560d4fdb1f
line wrap: on
line diff
--- a/vp3.c	Sat Aug 14 22:51:24 2004 +0000
+++ b/vp3.c	Mon Aug 16 01:25:52 2004 +0000
@@ -2719,16 +2719,16 @@
 {
     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);