[FFmpeg-devel] ff_mpa_synth_filter troubles

gga ggarra
Thu Jul 26 15:30:09 CEST 2007


gga wrote:
> Latest SVN or very close to that.
> I'm running into some crashes when trying to load two movie files into
> my application and decoding their first frame/packets.
> The movies do not raise any valgrind warnings when loaded separately.
> When loaded together, valgrind is reporting:
> 
> ==29606== Use of uninitialised value of size 8
> ==29606==    at 0x515D163: ff_mpa_synth_filter (in
> /usr/lib/libavcodec.so.0d.51.11.0)
> ==29606==    by 0x5160646: (within /usr/lib/libavcodec.so.0d.51.11.0)
> 
> ==29606== Invalid write of size 2
> ==29606==    at 0x515D163: ff_mpa_synth_filter (in
> /usr/lib/libavcodec.so.0d.51.11.0)
> ==29606==    by 0x5160646: (within /usr/lib/libavcodec.so.0d.51.11.0)
>             ....
> ==29606==  Address 0x20 is not stack'd, malloc'd or (recently) free'd
> 
> Any ideas of things to try, before I go onto to try to debug the
> function myself (it is a tad complex due to the use of macros)?
> 

Just to answer my own question.  This was an ugly bug in my code.
ffmpeg is just fine.

-- 
Gonzalo Garramu?o
ggarra at advancedsl.com.ar

AMD4400 - ASUS48N-E
GeForce7300GT
Kubuntu Edgy




More information about the ffmpeg-devel mailing list