avcodec_find_best_pix_fmt_of_2: fix handling or PIX_FMT_NONE
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 13 Oct 2012 21:41:10 +0000 (23:41 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 13 Oct 2012 22:08:44 +0000 (00:08 +0200)
commit8cda27b7537d15ef159cff94f3fe3dd7ab1330d4
tree63adf516732da69e188de6467fdbc6083801dd5c
parentb3eb4f54c0d091ed518b38a5b90183d0d55fa729
avcodec_find_best_pix_fmt_of_2: fix handling or PIX_FMT_NONE

Fixes CID733775
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/imgconvert.c