[FFmpeg-devel] [patch] 6 channel rawaudioinputresultsininvalid PCM packet error

Phil Rutschman philr
Wed Nov 12 19:54:44 CET 2008


> > ok if it passes the regression tests
> 
> It doesn't.
> 
> I have not investigated further...

The regression failure appears to be due solely to a change in the raw
audio packet size.

This can be confirmed in two ways. First, revert to SVN head. Run make
test. Edit libavformat/raw.c to change the #define of RAW_PACKET_SIZE to
2048, for example. Rerun make test, and observe which files fail.

Second, revert the change of RAW_PACKET_SIZE and apply this version of
the patch which restores my original logic, which kept the
RAW_PACKET_SIZE the same if possible. Rerun make test, and observe that
the files no longer fail.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: raw_audio_6_channels-v5.diff
Type: application/octet-stream
Size: 1358 bytes
Desc: raw_audio_6_channels-v5.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081112/83aa5fd4/attachment.obj>



More information about the ffmpeg-devel mailing list