diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-11 21:14:00 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-01-11 21:51:11 +0100 |
commit | fa66237b69c27befa788b100e73783e0f47fe1b7 (patch) | |
tree | d065cfa6372bf29b3c1acba567865294a0d08261 /libavcodec/wmaprodec.c | |
parent | 62825236dba31a2240e25974a3ba41c1303e4edc (diff) | |
download | ffmpeg-streaming-fa66237b69c27befa788b100e73783e0f47fe1b7.zip ffmpeg-streaming-fa66237b69c27befa788b100e73783e0f47fe1b7.tar.gz |
lavc: Use get_bitsz where needed
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/wmaprodec.c')
-rw-r--r-- | libavcodec/wmaprodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index 46710c5..bdcf64e 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -1145,7 +1145,7 @@ static int decode_subframe(WMAProDecodeCtx *s) int num_fill_bits; if (!(num_fill_bits = get_bits(&s->gb, 2))) { int len = get_bits(&s->gb, 4); - num_fill_bits = get_bits(&s->gb, len) + 1; + num_fill_bits = get_bitsz(&s->gb, len) + 1; } if (num_fill_bits >= 0) { |