From 4978618b6b0d072fec16efa41735050b3000da14 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Fri, 7 Dec 2007 05:56:07 +0000 Subject: Use existing function for VLC reading Originally committed as revision 11185 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv40.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/rv40.c') 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; -- cgit v1.2.3