aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/amr.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-07-07 13:46:30 +0000
committerMåns Rullgård <mans@mansr.com>2007-07-07 13:46:30 +0000
commitf015e411d78d9e9ae179170beafe4951b778ac50 (patch)
treea012d15aae555b7d4679d783e622df619cce01d4 /libavformat/amr.c
parent8c222bb405f7031b2326c601f5072ca2980b1079 (diff)
downloadffmpeg-f015e411d78d9e9ae179170beafe4951b778ac50.tar.gz
kill uninitialised variable warning in amr_read_packet()
Originally committed as revision 9522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/amr.c')
-rw-r--r--libavformat/amr.c2
1 files changed, 1 insertions, 1 deletions
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))
{