[FFmpeg-devel] [PATCH] fix clicking sound in xa-adpcm

Alexander Strange astrange
Wed Dec 5 19:23:51 CET 2007

On Dec 5, 2007, at 11:32 AM, Alexander Strange wrote:

> The XA ADPCM decoder resets the last sample predictors to 0 after  
> every frame.
> This is wrong, and causes loud clicking constantly in all my  
> samples. Attached patch fixes it.
> I can't tell if seeking is affected, since the STR demuxer can't seek
> in ffplay (not sure why) and can't be remuxed (no codec_tag).

Samples where it's audible:
http://samples.mplayerhq.hu/game-formats/psx-str/lunar2.str (when they  

Both of those are in mphq incoming already.

More information about the ffmpeg-devel mailing list