[FFmpeg-devel] [PATCH] imgconvert: store padded size information in PixFmtInfo, simplify avg_bits_per_pixel()

Michael Niedermayer michaelni at gmx.at
Wed Jul 20 01:04:54 CEST 2011

On Tue, Jul 19, 2011 at 03:42:15PM +0200, Stefano Sabatini wrote:
> Prefer data-driven over procedural logic in avg_bits_per_pixel(),
> simplify and improve robustness, as it is easy to miss a function
> update when a new format is added.

lgtm if tested

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110720/96bbdaec/attachment.asc>

More information about the ffmpeg-devel mailing list