Browse Source

Fix a warning on an uninitialized variable.

Originally committed as revision 18195 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Benoit Fouet 16 years ago
parent
commit
e2eb0f52ec
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      tests/seek_test.c

+ 2
- 1
tests/seek_test.c 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){


Loading…
Cancel
Save