[FFmpeg-devel] [PATCH] RealAudio 14.4 decoder: remove incorrect av_log() call

Vitor Sessak vitor1001
Tue Jan 5 13:05:20 CET 2010


Hi

Francesco Lavra wrote:
> Hi,
> in libavcodec/ra144.c, av_log() is called with a pointer to a structure
> which does not contain an AVClass pointer as first member.

Thanks for the bugreport. This line is indeed nonsense.

> The attached patch fixes this by removing that av_log() call; also,

I'm not sure this is the correct fix. Can you upload the file that 
triggered this to incoming (as described in the "bug reports" page)? Do 
you know if the file is corrupted? IMO, if this is never reached in a 
valid file, fixing the warning would be more appropriate than removing 
it (and for that you would need adding a pointer to avctx in the 
RA144Context struct).

-Vitor



More information about the ffmpeg-devel mailing list