[FFmpeg-devel] [PATCH] interprete bits_per_raw_sample==0 as »use default bit depth«

Lars Täuber lars.taeuber
Mon Aug 31 22:44:38 CEST 2009

On Mon, 31 Aug 2009 21:23:24 +0200 Michael Niedermayer <michaelni at gmx.at> wrote:
> On Mon, Aug 31, 2009 at 09:07:56PM +0200, Lars T?uber wrote:
> > What do you think about it?
> i think bits_per_raw_sample should be set correctly not code be adapted to
> handle incorrect values

Ok, something like this?

The doxy comment for bits_per_raw_sample in avcodec.h is a bit misleading.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16bps.diff
Type: text/x-diff
Size: 831 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090831/4d274b2e/attachment.diff>

More information about the ffmpeg-devel mailing list