[FFmpeg-devel] [patch] 6 channel rawaudioinputresultsin invalid PCM packet error
Mon Nov 10 18:57:03 CET 2008
> bits_per_coded_sample could be set in raw_read_header() it would at
> least avoid recalculating its value in every packet
Done. bits_per_coded_sample is set to av_get_bits_per_sample() unless
the latter returns zero, in which case it's set to 8. Alternatively I
could error or assert on a zero return value, which should never happen
with raw audio.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1189 bytes
More information about the ffmpeg-devel