summaryrefslogtreecommitdiff
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-01-31 00:05:44 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-01-31 00:05:44 +0000
commit3fbe36d4d0eaad5ed855b0418a841c70d0cdbcb3 (patch)
tree4440603c930585cbad12d56215db89c0164bab14 /libavcodec/h263.c
parent7f4d2d830800ab650c56973253de7482545ef838 (diff)
downloadffmpeg-3fbe36d4d0eaad5ed855b0418a841c70d0cdbcb3.tar.gz
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
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c2
1 files changed, 1 insertions, 1 deletions
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;