X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmp3dec.c;h=ff794ff277731584cd9319b43956909d088dd5a9;hb=4ccd2b31f0e9504e5d6151e50215c6dbb437c16a;hp=841e0ca4b492d4619c8cca7431e022a7caa1c190;hpb=20526f2e2f58cb226e9891aec7d7e438a7ddb6d2;p=ffmpeg diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 841e0ca4b49..ff794ff2777 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -415,13 +415,6 @@ static int mp3_read_packet(AVFormatContext *s, AVPacket *pkt) pkt->flags &= ~AV_PKT_FLAG_CORRUPT; pkt->stream_index = 0; - if (ret >= ID3v1_TAG_SIZE && - memcmp(&pkt->data[ret - ID3v1_TAG_SIZE], "TAG", 3) == 0) - ret -= ID3v1_TAG_SIZE; - - /* note: we need to modify the packet size here to handle the last - packet */ - pkt->size = ret; return ret; }