[SCM] libav/experimental: init to 0, fix warning: mpegenc.c:1022: warning: 'avail_space' may be used uninitialized in this function
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:12:42 UTC 2013
The following commit has been merged in the experimental branch:
commit febc8fad0c49bcbcfbdc07af4a04e2e9abec7c61
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Thu Jan 31 00:27:51 2008 +0000
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
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index 83a628a..0558226 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -1019,7 +1019,7 @@ static int output_packet(AVFormatContext *ctx, int flush){
MpegMuxContext *s = ctx->priv_data;
AVStream *st;
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_score= INT_MIN;
int ignore_constraints=0;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list