kill uninitialised variable warning in amr_read_packet()

Originally committed as revision 9522 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Måns Rullgård 18 years ago
parent 8c222bb405
commit f015e411d7
  1. 2
      libavformat/amr.c

@ -118,7 +118,7 @@ static int amr_read_packet(AVFormatContext *s,
AVPacket *pkt) AVPacket *pkt)
{ {
AVCodecContext *enc = s->streams[0]->codec; AVCodecContext *enc = s->streams[0]->codec;
int read, size, toc, mode; int read, size = 0, toc, mode;
if (url_feof(&s->pb)) if (url_feof(&s->pb))
{ {

Loading…
Cancel
Save