forked from FFmpeg/FFmpeg
Fix a warning on an uninitialized variable.
Originally committed as revision 18195 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3344cf851c
commit
e2eb0f52ec
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue