aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/shorten.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/shorten.c
parent7f95d9f620c680b254dfc0ca3add1cba0f8532c0 (diff)
downloadffmpeg-7ae7300ee3bc830d9ece8c4c1fa27330b76c8218.tar.gz
use skip_bits where appropriate
Originally committed as revision 10004 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/shorten.c')
-rw-r--r--libavcodec/shorten.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
index cfea5bc386..b03985a48c 100644
--- a/libavcodec/shorten.c
+++ b/libavcodec/shorten.c
@@ -299,7 +299,7 @@ static int shorten_decode_frame(AVCodecContext *avctx,
}
}
init_get_bits(&s->gb, buf, buf_size*8);
- get_bits(&s->gb, s->bitindex);
+ skip_bits(&s->gb, s->bitindex);
if (!s->blocksize)
{
int maxnlpc = 0;