Commit ed6c9ac5 authored by bcoudurier's avatar bcoudurier

init to 0, fix warning: mpegenc.c:1022: warning: 'avail_space' may be used...

init to 0, fix warning: mpegenc.c:1022: warning: 'avail_space' may be used uninitialized in this function

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11683 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2c9687d6
...@@ -1019,7 +1019,7 @@ static int output_packet(AVFormatContext *ctx, int flush){ ...@@ -1019,7 +1019,7 @@ static int output_packet(AVFormatContext *ctx, int flush){
MpegMuxContext *s = ctx->priv_data; MpegMuxContext *s = ctx->priv_data;
AVStream *st; AVStream *st;
StreamInfo *stream; StreamInfo *stream;
int i, avail_space, es_size, trailer_size; int i, avail_space=0, es_size, trailer_size;
int best_i= -1; int best_i= -1;
int best_score= INT_MIN; int best_score= INT_MIN;
int ignore_constraints=0; int ignore_constraints=0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment