Reimar Döffinger <[email protected]> added the comment: On Fri, Jul 23, 2010 at 02:55:14PM +0000, Carl Eugen Hoyos wrote: > ==26309== Use of uninitialised value of size 4 > ==26309== at 0x8255323: ff_mjpeg_decode_sos (get_bits.h:611) > ==26309== > ==26309== Invalid read of size 4 > ==26309== at 0x82553E5: ff_mjpeg_decode_sos (bswap.h:42) > ==26309== Address 0x517a8d7 is 825,863 bytes inside a block of size 825,866 > alloc'd > ==26309== at 0x4CA8E9E: memalign (in > /usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so) > ==26309== by 0x4CA8EFB: posix_memalign (in > /usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so) > ==26309== by 0x854EAB0: av_malloc (mem.c:83) > ==26309== > ==26309== Invalid read of size 4 > ==26309== at 0x8255311: ff_mjpeg_decode_sos (bswap.h:42) > ==26309== Address 0x517a8df is 5 bytes after a block of size 825,866 alloc'd > ==26309== at 0x4CA8E9E: memalign (in > /usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so) > ==26309== by 0x4CA8EFB: posix_memalign (in > /usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so) > ==26309== by 0x854EAB0: av_malloc (mem.c:83) > ==26309== > ==26309== Invalid read of size 4 > ==26309== at 0x825536B: ff_mjpeg_decode_sos (bswap.h:42) > ==26309== Address 0x517a931 is not stack'd, malloc'd or (recently) free'd
Well, those are probably the problem, but I get neither of those on a x86_64 build. Can you try to get better debug info? Maybe by building with -fno-inline -g3 ? ________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/issue2117> ________________________________________________
