[FFmpeg-devel] [PATCH 1/8] ffmdec: initialize f_cprv, f_stvi and f_stau

Michael Niedermayer michaelni at gmx.at
Mon Mar 9 02:45:06 CET 2015


On Mon, Mar 09, 2015 at 12:02:55AM +0100, Andreas Cadhalpun wrote:
> Hi,
> 
> attached patch fixes 'Conditional jump or move depends on
> uninitialized variables' valgrind warnings.
> 
> Best regards,
> Andreas

>  ffmdec.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 4a297cdd7cdb822a449cd846139a86ae284893aa  0001-ffmdec-initialize-f_cprv-f_stvi-and-f_stau.patch
> From 8b1088fa1509b1613d095fbe1c11eec6d251c95c Mon Sep 17 00:00:00 2001
> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> Date: Sun, 8 Mar 2015 22:52:47 +0100
> Subject: [PATCH 1/8] ffmdec: initialize f_cprv, f_stvi and f_stau
> 
> They are used in a switch statement, but it is not guaranteed that the
> COMM case (where they are set to 0) is reached before the other cases.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150309/c70f0c7b/attachment.asc>


More information about the ffmpeg-devel mailing list