aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2009-03-26 14:15:42 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2009-03-26 14:15:42 +0000
commite2eb0f52ec2d3df251d22068ef94d295222f15da (patch)
tree6c156e43a7391f811e9fdb9a7fee5e2437c34560
parent3344cf851c55d80080ec8f47bb1637200619ed5f (diff)
downloadffmpeg-e2eb0f52ec2d3df251d22068ef94d295222f15da.tar.gz
Fix a warning on an uninitialized variable.
Originally committed as revision 18195 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/seek_test.c3
1 files changed, 2 insertions, 1 deletions
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 <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){