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){