kill uninitialised variable warning in amr_read_packet()

Originally committed as revision 9522 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2007-07-07 13:46:30 +00:00
parent 8c222bb405
commit f015e411d7

View File

@ -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))
{