[FFmpeg-cvslog] r18195 - trunk/tests/seek_test.c

benoit subversion
Thu Mar 26 15:15:42 CET 2009


Author: benoit
Date: Thu Mar 26 15:15:42 2009
New Revision: 18195

Log:
Fix a warning on an uninitialized variable.

Modified:
   trunk/tests/seek_test.c

Modified: trunk/tests/seek_test.c
==============================================================================
--- trunk/tests/seek_test.c	Thu Mar 26 13:41:11 2009	(r18194)
+++ trunk/tests/seek_test.c	Thu Mar 26 15:15:42 2009	(r18195)
@@ -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){



More information about the ffmpeg-cvslog mailing list