[SCM] libav/experimental: init to 0, fix warning: h263.c:4730: warning: 'dc_pred_dir' may be used uninitialized in this function
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:12:38 UTC 2013
The following commit has been merged in the experimental branch:
commit 3fbe36d4d0eaad5ed855b0418a841c70d0cdbcb3
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Thu Jan 31 00:05:44 2008 +0000
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
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 81cb3ea..a161619 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list