aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-09-12 14:43:44 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-12 14:43:44 +0000
commitdae9ffc4400541f716bb90d8a5ad2cb1b2703882 (patch)
tree201e1728ac4d82df49d33b92c085a78a33e4aa91
parent2f0f5b2059563a8478a6ef90ceec37089a8dcbcf (diff)
downloadffmpeg-dae9ffc4400541f716bb90d8a5ad2cb1b2703882.tar.gz
uninitialized var ...
Originally committed as revision 927 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h263dec.c5
1 files 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;
}