get_buffers: Check that pix_fmt is not NONE.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 29 Feb 2012 05:20:22 +0000 (06:20 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 29 Feb 2012 05:27:38 +0000 (06:27 +0100)
commitc2500635235d809e0c0ac526a7e13072ab7c8900
tree623e25483adae3ba3992f50841babf2f190b8457
parent8534881a389044ec51adabcf979616b4875ac072
get_buffers: Check that pix_fmt is not NONE.

This is somewhat redundant as no decoder should call get_buffer() with such argument.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
ffplay.c
libavcodec/utils.c