summaryrefslogtreecommitdiff
path: root/libavcodec/rv40.c
diff options
context:
space:
mode:
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;