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/escape124.c | |
parent | 62825236dba31a2240e25974a3ba41c1303e4edc (diff) | |
download | ffmpeg-fa66237b69c27befa788b100e73783e0f47fe1b7.tar.gz |
lavc: Use get_bitsz where needed
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/escape124.c')
-rw-r--r-- | libavcodec/escape124.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/escape124.c b/libavcodec/escape124.c index f652198e5b..629ba5e2d7 100644 --- a/libavcodec/escape124.c +++ b/libavcodec/escape124.c @@ -159,7 +159,7 @@ static MacroBlock decode_macroblock(Escape124Context* s, GetBitContext* gb, // depth = 0 means that this shouldn't read any bits; // in theory, this is the same as get_bits(gb, 0), but // that doesn't actually work. - block_index = depth ? get_bits(gb, depth) : 0; + block_index = get_bitsz(gb, depth); if (*codebook_index == 1) { block_index += superblock_index << s->codebooks[1].depth; |