[FFmpeg-cvslog] avcodec/eamad: silence uninitialized variable warnings
Michael Niedermayer
git at videolan.org
Wed May 7 18:20:18 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May 7 17:48:04 2014 +0200| [a779602584b43578e8baa69b367ba7d64e973dd0] | committer: Michael Niedermayer
avcodec/eamad: silence uninitialized variable warnings
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a779602584b43578e8baa69b367ba7d64e973dd0
---
libavcodec/eamad.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/eamad.c b/libavcodec/eamad.c
index 2d34d35..c043305 100644
--- a/libavcodec/eamad.c
+++ b/libavcodec/eamad.c
@@ -195,7 +195,7 @@ static int decode_motion(GetBitContext *gb)
static int decode_mb(MadContext *s, AVFrame *frame, int inter)
{
int mv_map = 0;
- int mv_x, mv_y;
+ int av_uninit(mv_x), av_uninit(mv_y);
int j;
if (inter) {
More information about the ffmpeg-cvslog
mailing list