changeset 2225:7e5e26f8052a libavformat

kill uninitialised variable warning in amr_read_packet()
author mru
date Sat, 07 Jul 2007 13:46:30 +0000
parents fbaec5e545d2
children c2ad35fbbd30
files amr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))
     {