[FFmpeg-devel] avcodec/hevc_ps: set correct return value

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Nov 27 05:31:38 EET 2017

2017-11-27 4:22 GMT+01:00 Pan Bian <bianpan2016 at 163.com>:
> When the call to get_bits_left() fails, the return value is not an
> negative error code. This patch explicitly assignes an error
> code to the return variable ret.

Can't this break decoding of damaged streams that could be
decoded so far?

Carl Eugen

More information about the ffmpeg-devel mailing list