aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv40.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2007-12-07 05:56:07 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2007-12-07 05:56:07 +0000
commit4978618b6b0d072fec16efa41735050b3000da14 (patch)
tree81847904fc3da59b6d34b2e6df3010b35f9f3d68 /libavcodec/rv40.c
parentb192e56461cfd83c5d3b7929b82b67395edbaa8e (diff)
downloadffmpeg-4978618b6b0d072fec16efa41735050b3000da14.tar.gz
Use existing function for VLC reading
Originally committed as revision 11185 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv40.c')
-rw-r--r--libavcodec/rv40.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/rv40.c b/libavcodec/rv40.c
index 1a7451e1b9..a08666340f 100644
--- a/libavcodec/rv40.c
+++ b/libavcodec/rv40.c
@@ -27,6 +27,7 @@
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
+#include "golomb.h"
#include "rv34.h"
#include "rv40vlc2.h"
@@ -207,7 +208,7 @@ static int rv40_decode_mb_info(RV34DecContext *r)
int count = 0;
if(!r->s.mb_skip_run)
- r->s.mb_skip_run = ff_rv34_get_gamma(gb);
+ r->s.mb_skip_run = svq3_get_ue_golomb(gb) + 1;
if(--r->s.mb_skip_run)
return RV34_MB_SKIP;