[FFmpeg-devel] [PATCH] fix uninitialized variable warning in seek_test.c

Diego Biurrun diego
Thu Mar 26 14:02:31 CET 2009


On Thu, Mar 26, 2009 at 01:56:22PM +0100, Benoit Fouet wrote:
> 
> attached is a patch to $subj
> 
> --- tests/seek_test.c	(revision 18194)
> +++ tests/seek_test.c	(working copy)
> @@ -70,7 +70,7 @@ int main(int argc, char **argv)
>  
>      for(i=0; ; i++){
>          AVPacket pkt;
> -        AVStream *st;
> +        AVStream *av_uninit(st);

The #include is missing I think.

Does performance matter in any way here?  Otherwise it might be simpler
to initialize the variable.

Diego



More information about the ffmpeg-devel mailing list