diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-07-28 12:20:08 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-28 14:36:55 +0200 |
commit | 67b1156fe8d80c1858a222e85c5be75e0f040ea1 (patch) | |
tree | 563070e4109f7b3cdd55b6252f5cf50223c2f6e4 /libavformat | |
parent | 61f8bb74f33931c899482f5cca17ded571b07d4e (diff) | |
download | ffmpeg-streaming-67b1156fe8d80c1858a222e85c5be75e0f040ea1.zip ffmpeg-streaming-67b1156fe8d80c1858a222e85c5be75e0f040ea1.tar.gz |
mp3dec: remove a pointless local variable.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mp3dec.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 4344e8e..11e684d 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -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) { |