diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2009-03-26 14:15:42 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2009-03-26 14:15:42 +0000 |
commit | e2eb0f52ec2d3df251d22068ef94d295222f15da (patch) | |
tree | 6c156e43a7391f811e9fdb9a7fee5e2437c34560 | |
parent | 3344cf851c55d80080ec8f47bb1637200619ed5f (diff) | |
download | ffmpeg-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.c | 3 |
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){ |