[FFmpeg-devel] [PATCH] adpcm swf encoder frame size

Benjamin Larsson banan
Sun Jul 15 00:23:09 CEST 2007

Baptiste Coudurier wrote:
> Hi
> Patch computes good frame size for encoding, flash player now correctly
> plays files.
> It seems it should be possible to encode with any sample rate though,
> OTOH adpcm_swf is meant to muxed in flv/swf.
> I think "for (i=0" should be changed to i=1, does it make sense to
> encode first sample twice ? Can I change that ?

I'm not totally sure about this, but I'd say go ahead and change it. And
the patch is ok to commit. Not that I'm the maintainer but this code
does the correct thing while the previous only worked in some cases.

Benjamin Larsson

More information about the ffmpeg-devel mailing list