mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
mp3dec: remove a pointless local variable.
This commit is contained in:
parent
61f8bb74f3
commit
67b1156fe8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user