Fix a warning on an uninitialized variable.

Originally committed as revision 18195 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Benoit Fouet 2009-03-26 14:15:42 +00:00
parent 3344cf851c
commit e2eb0f52ec

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