diff amr.c @ 2225:7e5e26f8052a libavformat

kill uninitialised variable warning in amr_read_packet()
author mru
date Sat, 07 Jul 2007 13:46:30 +0000
parents dbcfc6a4c016
children 7eb456c4ed8a
line wrap: on
line diff
--- a/amr.c	Sat Jul 07 13:46:28 2007 +0000
+++ b/amr.c	Sat Jul 07 13:46:30 2007 +0000
@@ -118,7 +118,7 @@
                           AVPacket *pkt)
 {
     AVCodecContext *enc = s->streams[0]->codec;
-    int read, size, toc, mode;
+    int read, size = 0, toc, mode;
 
     if (url_feof(&s->pb))
     {