mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-04 05:57:49 +02:00
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
@ -23,6 +23,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include "libavutil/common.h"
|
||||||
#include "libavformat/avformat.h"
|
#include "libavformat/avformat.h"
|
||||||
|
|
||||||
#undef exit
|
#undef exit
|
||||||
@ -70,7 +71,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
for(i=0; ; i++){
|
for(i=0; ; i++){
|
||||||
AVPacket pkt;
|
AVPacket pkt;
|
||||||
AVStream *st;
|
AVStream *av_uninit(st);
|
||||||
|
|
||||||
memset(&pkt, 0, sizeof(pkt));
|
memset(&pkt, 0, sizeof(pkt));
|
||||||
if(ret>=0){
|
if(ret>=0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user