[FFmpeg-devel] [libav-devel] [RFC] av_get_bits_per_sample() questions
stefano.sabatini-lala at poste.it
Mon Jun 6 01:48:33 CEST 2011
On date Sunday 2011-06-05 18:22:06 -0400, Justin Ruggles encoded:
> On 06/05/2011 05:33 PM, Justin Ruggles wrote:
> > On 06/05/2011 05:00 PM, Stefano Sabatini wrote:
> >> In case the sense of the text above was not clear, I meant: do you
> >> have some reason to suppose that we may add a sample format with a non
> >> integer number of bytes?
> > no.
> Well, I guess maybe someday we might encounter some hardware device that
> uses fractional bits per sample, in which case it might be nice to
> convert to such a theoretical sample format in our theoretical future
> audio conversion lib. So maybe we should have both variants in
> libavutil to avoid dividing by 8 everywhere now and also stay adaptable
> to future unknowns.
Check attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3409 bytes
Desc: not available
More information about the ffmpeg-devel