[FFmpeg-devel] [PATCH] avcodec/tests/rangecoder: initialize array to avoid valgrind warning

Steven Liu lq at chinaffmpeg.org
Sun Jan 13 10:21:14 EET 2019



> On Jan 12, 2019, at 22:49, Michael Niedermayer <michael at niedermayer.cc> wrote:
> 
> On Fri, Jan 04, 2019 at 02:46:29AM +0100, Michael Niedermayer wrote:
>> Found-by: jamrial
>> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
>> ---
>> libavcodec/tests/rangecoder.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> i intend to apply this soon unless there are more comments, i did not
> understand the only comment :(
Hi Michael,

    Sorry for my comment, i think you are right,
    i mean the r should initialized too, but it have been initialized completely a few lines later.


> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> "I am not trying to be anyone's saviour, I'm trying to think about the
> future and not be sad" - Elon Musk
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Thanks
Steven







More information about the ffmpeg-devel mailing list