From e2eb0f52ec2d3df251d22068ef94d295222f15da Mon Sep 17 00:00:00 2001 From: Benoit Fouet Date: Thu, 26 Mar 2009 14:15:42 +0000 Subject: [PATCH] Fix a warning on an uninitialized variable. Originally committed as revision 18195 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/seek_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/seek_test.c b/tests/seek_test.c index abb993f015..c2d0646e4f 100644 --- a/tests/seek_test.c +++ b/tests/seek_test.c @@ -23,6 +23,7 @@ #include #include +#include "libavutil/common.h" #include "libavformat/avformat.h" #undef exit @@ -70,7 +71,7 @@ int main(int argc, char **argv) for(i=0; ; i++){ AVPacket pkt; - AVStream *st; + AVStream *av_uninit(st); memset(&pkt, 0, sizeof(pkt)); if(ret>=0){