1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

uninitialized var ...

Originally committed as revision 927 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2002-09-12 14:43:44 +00:00
parent 2f0f5b2059
commit dae9ffc440

View File

@@ -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;
}