From 3fbe36d4d0eaad5ed855b0418a841c70d0cdbcb3 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Thu, 31 Jan 2008 00:05:44 +0000 Subject: [PATCH] init to 0, fix warning: h263.c:4730: warning: 'dc_pred_dir' may be used uninitialized in this function Originally committed as revision 11677 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 81cb3ea05f..a16161953a 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -4727,7 +4727,7 @@ static inline int mpeg4_decode_block(MpegEncContext * s, DCTELEM * block, int n, int coded, int intra, int rvlc) { int level, i, last, run; - int dc_pred_dir; + int dc_pred_dir = 0; RLTable * rl; RL_VLC_ELEM * rl_vlc; const uint8_t * scan_table;