Browse Source

get_bits: remove unused assignment

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4
Timothy Gu Michael Niedermayer 11 years ago
parent
commit
ea6178fff8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/get_bits.h

+ 1
- 1
libavcodec/get_bits.h View File

@@ -408,7 +408,7 @@ static inline int init_get_bits(GetBitContext *s, const uint8_t *buffer,
int ret = 0; int ret = 0;


if (bit_size >= INT_MAX - 7 || bit_size < 0 || !buffer) { if (bit_size >= INT_MAX - 7 || bit_size < 0 || !buffer) {
buffer_size = bit_size = 0;
bit_size = 0;
buffer = NULL; buffer = NULL;
ret = AVERROR_INVALIDDATA; ret = AVERROR_INVALIDDATA;
} }


Loading…
Cancel
Save