New submission from Vitor <[email protected]>:
Sample at http://samples.mplayerhq.hu/fate-suite/kega/
vi...@vitor:~$ ffmpeg_g -i kgv1.avi -pix_fmt rgb24 -f md5 -
==21414== Memcheck, a memory error detector
==21414== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==21414== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==21414== Command: ffmpeg_g -i kgv1.avi -pix_fmt rgb24 -f md5 -
==21414==
FFmpeg version SVN-r23505, Copyright (c) 2000-2010 the FFmpeg developers
built on Jun 6 2010 18:29:25 with gcc 4.4.3
configuration: --cc='ccache gcc' --cpu=host --enable-pthreads
--samples=/home/vitor/ffmpeg/fate/fate-suite
libavutil 50.18. 0 / 50.18. 0
libavcodec 52.74. 1 / 52.74. 1
libavformat 52.68. 0 / 52.68. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.11. 0 / 0.11. 0
Input #0, avi, from 'kgv1.avi':
Duration: 00:00:05.21, start: 0.000000, bitrate: 1633 kb/s
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Stream #0.1: Video: kgv1, rgb555le, 640x480, 60 tbr, 60 tbn, 60 tbc
[ffmpeg_output @ 0x445ba90]auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'out'
[scale @ 0x445c140]w:640 h:480 fmt:rgb555le -> w:640 h:480 fmt:rgb24
flags:0xa0000004
Output #0, md5, to 'pipe:':
Metadata:
encoder : Lavf52.68.0
Stream #0.0: Video: rawvideo, rgb24, 640x480, q=2-31, 200 kb/s, 90k tbn, 60
tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
==21414== Invalid read of size 1
==21414== at 0x4026898: memcpy (mc_replace_strmem.c:497)
==21414== by 0x823F120: av_picture_copy (string3.h:52)
==21414== by 0x80890B9: request_frame (vsrc_buffer.c:106)
==21414== by 0x8077478: output_packet (ffmpeg.c:365)
==21414== by 0x807B148: T.671 (ffmpeg.c:2607)
==21414== by 0x807BB5A: main (ffmpeg.c:4325)
==21414== Address 0x469bbaf is 1 bytes before a block of size 153,600 alloc'd
==21414== at 0x4024F20: malloc (vg_replace_malloc.c:236)
==21414== by 0x4024FAA: realloc (vg_replace_malloc.c:525)
==21414== by 0x8260D7F: decode_frame (kgv1dec.c:66)
==21414== by 0x83819A4: avcodec_decode_video2 (utils.c:611)
==21414== by 0x80788CE: output_packet (ffmpeg.c:1598)
==21414== by 0x807B148: T.671 (ffmpeg.c:2607)
==21414== by 0x807BB5A: main (ffmpeg.c:4325)
[... and the same message repeated over and over ...]
----------
messages: 11225
priority: normal
status: new
substatus: new
title: Valgrind reports invalid reads for kega video decoder
type: bug
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2096>
________________________________________________