summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-01-21 23:55:31 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-01-23 19:32:07 +0100
commit204a18151c7c6deb65fcdce5273f23813df3dc83 (patch)
treef893acc068e9990010efeef8acd8539e02effdad /libavcodec/mpegaudiodec.c
parent05238927b79c00c972c968599d8cfddb676e935d (diff)
Move ID3v1 skip from decoder to demuxer
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 045b80e52df7ba9c97084c946b4929000d5f5bc7)
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 76fdffbafe..769be89913 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -27,7 +27,6 @@
#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"
-#include "libavformat/id3v1.h"
/*
* TODO:
@@ -2044,13 +2043,6 @@ static int decode_frame(AVCodecContext * avctx,
header = AV_RB32(buf);
if(ff_mpa_check_header(header) < 0){
-
- if (buf_size == ID3v1_TAG_SIZE
- && buf[0] == 'T' && buf[1] == 'A' && buf[2] == 'G') {
- *data_size = 0;
- return ID3v1_TAG_SIZE;
- }
-
av_log(avctx, AV_LOG_ERROR, "Header missing\n");
return -1;
}