1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

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)
{
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) {