From f015e411d78d9e9ae179170beafe4951b778ac50 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sat, 7 Jul 2007 13:46:30 +0000 Subject: kill uninitialised variable warning in amr_read_packet() Originally committed as revision 9522 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/amr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/amr.c') diff --git a/libavformat/amr.c b/libavformat/amr.c index 92223ed720..6d70aad490 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -118,7 +118,7 @@ static int amr_read_packet(AVFormatContext *s, AVPacket *pkt) { AVCodecContext *enc = s->streams[0]->codec; - int read, size, toc, mode; + int read, size = 0, toc, mode; if (url_feof(&s->pb)) { -- cgit v1.2.3