diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-07-15 03:06:16 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-07-16 02:28:07 +0400 |
commit | f20418c3491b745b0f82e6eb1a7debae4cfff126 (patch) | |
tree | 5f5997e2c4311bd330afe57fed95b3c89ccceca6 /libavcodec/sp5x.h | |
parent | 86e8272a235ac233bf7dbad86bab2c45720d65ca (diff) |
vaapi: do not assert on value read from input bitstream
User-provided data should never trigger an assert; return error instead.
Also fix an instance of get_bits where get_bits_long should have been used.
This eliminates the following warning:
libavcodec/vaapi_mpeg2.c:112:14: warning: variable 'start_code' set but not used
Diffstat (limited to 'libavcodec/sp5x.h')
0 files changed, 0 insertions, 0 deletions