imgconvert: remove PixFmtInfo use from avg_bits_per_pixel()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Nov 2012 15:47:02 +0000 (16:47 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Nov 2012 16:06:11 +0000 (17:06 +0100)
commitf6c439537486e09997661c10edd739561af1e331
tree484823a4c5db0bf7d4294706ae37ccb5aafc1885
parent0880f26bbe89a8621416efdac2c32ee26a570f28
imgconvert: remove PixFmtInfo use from avg_bits_per_pixel()

This fixes several inconsistencies with YUV >8bit formats caused
due to missing information in the PixFmtInfo table.

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