OSDN Git Service

Fix a warning on an uninitialized variable.
authorBenoit Fouet <benoit.fouet@free.fr>
Thu, 26 Mar 2009 14:15:42 +0000 (14:15 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Thu, 26 Mar 2009 14:15:42 +0000 (14:15 +0000)
Originally committed as revision 18195 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/seek_test.c

index abb993f..c2d0646 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 
+#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){