mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-30 07:08:22 +00:00
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)
|
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…
Reference in New Issue
Block a user