[FFmpeg-cvslog] vc1dec: silence "may be used uninitialized in this function" warning from gcc
Michael Niedermayer
git at videolan.org
Thu May 16 22:42:01 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 16 22:25:31 2013 +0200| [f4cc38e339675b2ca9eff99e9fb5af75cfc49d22] | committer: Michael Niedermayer
vc1dec: silence "may be used uninitialized in this function" warning from gcc
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f4cc38e339675b2ca9eff99e9fb5af75cfc49d22
---
libavcodec/vc1dec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index 4cdf470..f960cdd 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -4246,7 +4246,8 @@ static void vc1_decode_b_mb_intfi(VC1Context *v)
int fwd;
int dmv_x[2], dmv_y[2], pred_flag[2];
int bmvtype = BMV_TYPE_BACKWARD;
- int idx_mbmode, interpmvp;
+ int idx_mbmode;
+ int av_uninit(interpmvp);
mquant = v->pq; /* Lossy initialization */
s->mb_intra = 0;
More information about the ffmpeg-cvslog
mailing list