Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-12 04:39:05 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-11-12 06:01:05 +0400
commitc5e55e214cffc68641ec05fdf5a853df230ccfeb (patch)
treeb1ca484b9d44573fde85beb01ebc35ced171f89f /libavcodec/vble.c
parent29582df797745fa6c5eec22b007e4fd3a47e7dd9 (diff)
vble: change variable to int, its slightly faster and int is preferable if no specific size is needed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vble.c')
-rw-r--r--libavcodec/vble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vble.c b/libavcodec/vble.c
index f354faa41f..b758e23d61 100644
--- a/libavcodec/vble.c
+++ b/libavcodec/vble.c
@@ -41,7 +41,7 @@ typedef struct {
static uint8_t vble_read_reverse_unary(GetBitContext *gb)
{
/* At most we need to read 9 bits total to get indices up to 8 */
- uint8_t val = show_bits(gb, 8);
+ int val = show_bits(gb, 8);
if (val) {
val = 7 - av_log2_16bit(av_reverse[val]);