Commit 67b1156f authored by Anton Khirnov's avatar Anton Khirnov
Browse files

mp3dec: remove a pointless local variable.

parent 61f8bb74
......@@ -185,11 +185,9 @@ static int mp3_read_header(AVFormatContext *s)
static int mp3_read_packet(AVFormatContext *s, AVPacket *pkt)
{
int ret, size;
int ret;
size= MP3_PACKET_SIZE;
ret= av_get_packet(s->pb, pkt, size);
ret = av_get_packet(s->pb, pkt, MP3_PACKET_SIZE);
pkt->stream_index = 0;
if (ret <= 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment