mp3dec: remove a pointless local variable.

This commit is contained in:
Anton Khirnov
2012-07-28 12:20:08 +02:00
parent 61f8bb74f3
commit 67b1156fe8

View File

@@ -185,11 +185,9 @@ static int mp3_read_header(AVFormatContext *s)
static int mp3_read_packet(AVFormatContext *s, AVPacket *pkt) 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, MP3_PACKET_SIZE);
ret= av_get_packet(s->pb, pkt, size);
pkt->stream_index = 0; pkt->stream_index = 0;
if (ret <= 0) { if (ret <= 0) {