Ticket #4749: handlebit_size0.patch
| File handlebit_size0.patch, 519 bytes (added by , 11 years ago) |
|---|
-
libavcodec/get_bits.h
old new static inline int init_get_bits(GetBitCo 413 413 int buffer_size; 414 414 int ret = 0; 415 415 416 if (bit_size >= INT_MAX - 7 || bit_size < 0 || !buffer) {416 if (bit_size >= INT_MAX - 7 || bit_size <= 0 || !buffer) { 417 417 bit_size = 0; 418 418 buffer = NULL; 419 419 ret = AVERROR_INVALIDDATA;
