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

Michael Niedermayer michael at niedermayer.cc
Sun Jan 13 19:37:38 EET 2019


On Sun, Jan 13, 2019 at 04:21:14PM +0800, Steven Liu wrote:
> 
> 
> > 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.

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190113/360cbff2/attachment.sig>


More information about the ffmpeg-devel mailing list