[FFmpeg-devel] [PATCH] aiffenc: set correct number of bits foru8 in aiff

Piotr Bandurski ami_stuff at o2.pl
Wed Dec 12 21:51:30 CET 2012


> what if you just remove the 'enc->bits_per_coded_sample = 16;' line?
> as further down the function there is:
>  if (!enc->bits_per_coded_sample)
>  enc->bits_per_coded_sample = av_get_bits_per_sample(enc->codec_id);
> which should calculate the correct value.

Yes it fixes the problem as well, new patch attached.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: aiffenc2.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121212/c1c7fc26/attachment.txt>

More information about the ffmpeg-devel mailing list