summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-08-09 00:57:36 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-08-09 00:57:36 +0000
commit7ae7300ee3bc830d9ece8c4c1fa27330b76c8218 (patch)
tree026875fae10a86165c66c87b3dcd490bcf35f204 /libavcodec/rv10.c
parent7f95d9f620c680b254dfc0ca3add1cba0f8532c0 (diff)
use skip_bits where appropriate
Originally committed as revision 10004 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index a5cb9531ca..33939bd849 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -200,7 +200,7 @@ int rv_decode_dc(MpegEncContext *s, int n)
else
code = (int8_t)(get_bits(&s->gb, 8));
} else if (code == 0x7f) {
- get_bits(&s->gb, 11);
+ skip_bits(&s->gb, 11);
code = 1;
}
} else {
@@ -216,7 +216,7 @@ int rv_decode_dc(MpegEncContext *s, int n)
} else if (code == 0x1fd) {
code = -128 + get_bits(&s->gb, 7);
} else if (code == 0x1fe) {
- get_bits(&s->gb, 9);
+ skip_bits(&s->gb, 9);
code = 1;
} else {
av_log(s->avctx, AV_LOG_ERROR, "chroma dc error\n");