[FFmpeg-devel] [PATCH 11/12] mxg: fix compiler warning for uninitialized variables
Jean First
jeanfirst at gmail.com
Sat Dec 31 14:14:21 CET 2011
Sorry for the mixup.
Signed-off-by: Jean First <jeanfirst at gmail.com>
---
libavformat/mxg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/mxg.c b/libavformat/mxg.c
index b249f67..af27910 100644
--- a/libavformat/mxg.c
+++ b/libavformat/mxg.c
@@ -98,7 +98,7 @@ static int mxg_update_cache(AVFormatContext *s, unsigned int cache_size)
{
MXGContext *mxg = s->priv_data;
unsigned int current_pos = mxg->buffer_ptr - mxg->buffer;
- unsigned int soi_pos;
+ unsigned int soi_pos = 0;
int ret;
/* reallocate internal buffer */
--
1.7.7.3
More information about the ffmpeg-devel
mailing list