New submission from Vitor <[email protected]>:
Sample at http://samples.mplayerhq.hu/fate-suite/musepack/
vi...@vitor:~$ valgrind ffmpeg_g -i inside-mp7.mpc -f md5 -
==25693== Memcheck, a memory error detector
==25693== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==25693== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==25693== Command: /home/vitor/ffmpeg/ffmpeg.3/ffmpeg_g -i inside-mp7.mpc -f
md5 -
==25693==
FFmpeg version SVN-r24138, Copyright (c) 2000-2010 the FFmpeg developers
built on Jul 9 2010 14:05:43 with gcc 4.4.3
configuration: --cc='ccache gcc' --cpu=host
--samples=/home/vitor/ffmpeg/fate/fate-suite
libavutil 50.21. 0 / 50.21. 0
libavcodec 52.80. 0 / 52.80. 0
libavformat 52.73. 0 / 52.73. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.22. 0 / 1.22. 0
libswscale 0.11. 0 / 0.11. 0
Input #0, mpc, from 'inside-mp7.mpc':
Metadata:
Title : inside
Artist : lossless-audio
Duration: 00:00:11.91, start: 0.000000, bitrate: 167 kb/s
Stream #0.0: Audio: mpc7, 44100 Hz, stereo, s16
Output #0, md5, to 'pipe:':
Metadata:
encoder : Lavf52.73.0
Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
==25693== Use of uninitialised value of size 4
==25693== at 0x827D37C: mpc7_decode_frame (get_bits.h:613)
==25693== by 0x838001C: avcodec_decode_audio3 (utils.c:656)
==25693== by 0x807A8DF: output_packet (ffmpeg.c:1568)
==25693== by 0x807CBA8: T.676 (ffmpeg.c:2607)
==25693== by 0x807D95A: main (ffmpeg.c:4355)
==25693==
==25693== Use of uninitialised value of size 4
==25693== at 0x827D3B8: mpc7_decode_frame (get_bits.h:613)
==25693== by 0x838001C: avcodec_decode_audio3 (utils.c:656)
==25693== by 0x807A8DF: output_packet (ffmpeg.c:1568)
==25693== by 0x807CBA8: T.676 (ffmpeg.c:2607)
==25693== by 0x807D95A: main (ffmpeg.c:4355)
==25693==
==25693== Use of uninitialised value of size 4
==25693== at 0x827E092: mpc7_decode_frame (get_bits.h:611)
==25693== by 0x838001C: avcodec_decode_audio3 (utils.c:656)
==25693== by 0x807A8DF: output_packet (ffmpeg.c:1568)
==25693== by 0x807CBA8: T.676 (ffmpeg.c:2607)
==25693== by 0x807D95A: main (ffmpeg.c:4355)
==25693==
==25693== Use of uninitialised value of size 4
==25693== at 0x827DE4A: mpc7_decode_frame (get_bits.h:611)
==25693== by 0x838001C: avcodec_decode_audio3 (utils.c:656)
==25693== by 0x807A8DF: output_packet (ffmpeg.c:1568)
==25693== by 0x807CBA8: T.676 (ffmpeg.c:2607)
==25693== by 0x807D95A: main (ffmpeg.c:4355)
[... repeated ad nausea ...]
Same errors for musepack8.
----------
messages: 11200
priority: normal
status: new
substatus: new
title: Valgrind repport invalid reads in musepack{7,8} decoder
type: bug
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2089>
________________________________________________