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:
parent
8c222bb405
commit
f015e411d7
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user