[FFmpeg-devel] [patch] 6 channel rawaudioinputresultsininvalid PCM packet error
Mon Nov 10 21:42:23 CET 2008
> setting it to 8 if av_get_bits_per_sample() returns 0 does seem rather
Fixed. The value is now simply assigned. Let me know if you prefer an
error message and return to the assert, but it is IMHO a bug for
av_get_bits_per_sample to return zero when passed the ID of a raw PCM
codec, so an assert seemed appropriate.
> tabs are forbiden in ffmpeg svn
I also added a comment explaining why the packet size needs manipulating
in the first place.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1255 bytes
More information about the ffmpeg-devel