Reimar Döffinger <[email protected]> added the comment: On Sun, Oct 11, 2009 at 04:57:33AM +0000, Baptiste Coudurier wrote: > > vi...@vitor:~$ valgrind --malloc-fill=0xff > > ../../../ffmpeg.milepost/ffmpeg_g -i > > v210_720p-partial.avi -pix_fmt yuv422p16be -an -f framecrc - > > [ identical valgrind output omitted ] > > 0, 0, 3686400, 0x654f4ce3 > > Is it possible to trace even further ? Like where the memory was allocated ?
==7539== Conditional jump or move depends on uninitialised value(s) ==7539== at 0x83596F: av_adler32_update (adler32.c:43) ==7539== by 0x4461E7: framecrc_write_packet (framecrcenc.c:27) ==7539== by 0x41DF5B: av_interleaved_write_frame (utils.c:2790) ==7539== by 0x4065EC: write_frame (ffmpeg.c:546) ==7539== by 0x406C0F: do_video_out (ffmpeg.c:1079) ==7539== by 0x407909: output_packet (ffmpeg.c:1437) ==7539== by 0x40BF68: av_encode (ffmpeg.c:2299) ==7539== by 0x40C54D: main (ffmpeg.c:4003) ==7539== Uninitialised value was created by a heap allocation ==7539== at 0x4A063A6: memalign (vg_replace_malloc.c:532) ==7539== by 0x4A06402: posix_memalign (vg_replace_malloc.c:660) ==7539== by 0x83A2F1: av_malloc (mem.c:66) ==7539== by 0x40BB03: av_encode (ffmpeg.c:2022) ==7539== by 0x40C54D: main (ffmpeg.c:4003) ==7539== ==7539== Use of uninitialised value of size 8 ==7539== at 0x31ED844D39: _itoa_word (in /lib64/libc-2.10.1.so) ==7539== by 0x31ED847E38: vfprintf (in /lib64/libc-2.10.1.so) ==7539== by 0x31ED8FEB98: __vsnprintf_chk (in /lib64/libc-2.10.1.so) ==7539== by 0x31ED8FEADA: __snprintf_chk (in /lib64/libc-2.10.1.so) ==7539== by 0x44621B: framecrc_write_packet (stdio2.h:65) ==7539== by 0x41DF5B: av_interleaved_write_frame (utils.c:2790) ==7539== by 0x4065EC: write_frame (ffmpeg.c:546) ==7539== by 0x406C0F: do_video_out (ffmpeg.c:1079) ==7539== by 0x407909: output_packet (ffmpeg.c:1437) ==7539== by 0x40BF68: av_encode (ffmpeg.c:2299) ==7539== by 0x40C54D: main (ffmpeg.c:4003) ==7539== Uninitialised value was created by a heap allocation ==7539== at 0x4A063A6: memalign (vg_replace_malloc.c:532) ==7539== by 0x4A06402: posix_memalign (vg_replace_malloc.c:660) ==7539== by 0x83A2F1: av_malloc (mem.c:66) ==7539== by 0x40BB03: av_encode (ffmpeg.c:2022) ==7539== by 0x40C54D: main (ffmpeg.c:4003) This looks more like an issue with the rawvideo encoder to me... And indeed I get the same thing with ./ffmpeg_g -i somefile.mpg -pix_fmt yuv422p16be -an -f framecrc - ---------- title: V210 decoder might give uninitialized memory as output -> rawvideo encoder might give uninitialized memory as output for 16 bit yuv _____________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1465> _____________________________________________________
