1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-18 07:15:04 +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;
}