aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/xga_font_data.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-05-14 18:27:31 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-14 18:58:56 +0200
commitcc5e4bb48476a89cc8ce0c41bc2bd2e8fda9b37c (patch)
tree18d497e40c4f5ca8dbbd7273ec04f6388654ce0c /libavutil/xga_font_data.h
parentf6b8b966076fcd358f734c6d00ed642edc02b4cd (diff)
downloadffmpeg-cc5e4bb48476a89cc8ce0c41bc2bd2e8fda9b37c.tar.gz
hevc: make avcodec_decode_video2() fail if get_format() fails
Personally, I need the decoder to back out if get_format() returns no usable pixel format. This didn't work because the error code was not propagated down the call chain. This in turn happened because the variable declaration removed in this patch shadowed the variable, whose value is returned at the end of the function. Consequently, failures of decode_nal_unit() were ignored in this place. Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/xga_font_data.h')
0 files changed, 0 insertions, 0 deletions