avutil/imgutils: Simplify pix_fmt validity check in av_image_get_linesize()
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Jun 2015 21:23:59 +0000 (23:23 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Jun 2015 21:23:59 +0000 (23:23 +0200)
commitea37df2d528c15dc472e7272ac5278090f01f38e
treedc72633b1056ce64b355a3a8292c0b58f20921a7
parent2cbadf51e80a5b155c0e3444f0bd302096398139
avutil/imgutils: Simplify pix_fmt validity check in av_image_get_linesize()

Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/imgutils.c