diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-09-02 14:22:15 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-03 13:55:38 +0200 |
commit | 5a19bce2ff2b61602889392bec747ce81d1e9a1b (patch) | |
tree | da4ae2ab055dec88ffcf5b93d3ab6124de366b5a /libavcodec/fraps.c | |
parent | 9ad1e0c12caa440de860bd8f2122beb11d73815c (diff) | |
download | ffmpeg-5a19bce2ff2b61602889392bec747ce81d1e9a1b.tar.gz |
huffman: use a named identifer for the bits constant
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/fraps.c')
-rw-r--r-- | libavcodec/fraps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index 7b198254d9..d502d3da5a 100644 --- a/libavcodec/fraps.c +++ b/libavcodec/fraps.c @@ -112,7 +112,7 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w, init_get_bits(&gb, s->tmpbuf, size * 8); for (j = 0; j < h; j++) { for (i = 0; i < w*step; i += step) { - dst[i] = get_vlc2(&gb, vlc.table, 9, 3); + dst[i] = get_vlc2(&gb, vlc.table, FF_HUFFMAN_BITS, 3); /* lines are stored as deltas between previous lines * and we need to add 0x80 to the first lines of chroma planes */ |