From dae9ffc4400541f716bb90d8a5ad2cb1b2703882 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 12 Sep 2002 14:43:44 +0000 Subject: [PATCH] uninitialized var ... Originally committed as revision 927 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263dec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 4b30180db4..3e7395f1f5 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -147,9 +147,10 @@ uint64_t time= rdtsc(); s->workaround_bugs= avctx->workaround_bugs; s->flags= avctx->flags; - /* no supplementary picture */ + *data_size = 0; + + /* no supplementary picture */ if (buf_size == 0) { - *data_size = 0; return 0; }