Commit febc8fad authored by Baptiste Coudurier's avatar Baptiste Coudurier

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

Originally committed as revision 11683 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 87be0d12
...@@ -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