summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-28 20:09:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-28 20:30:37 +0200
commitc0209facd2681cfa35132eced3af3479203bed67 (patch)
tree89b0a30f2a2cc4614181d9552e2b8140e658caa5 /libavformat/mov.c
parentbfe735b5824c7d10ba42932a17d786db50e3b2d4 (diff)
mov: remove default of 1024 sample skip for aac.
It is not correct in all cases and it is less predictable than a skip of 0 for user applications. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 84565c8696..26fb4145e7 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -3135,8 +3135,6 @@ static int mov_read_header(AVFormatContext *s)
AVStream *st = s->streams[i];
MOVStreamContext *sc = st->priv_data;
if(st->codec->codec_type == AVMEDIA_TYPE_AUDIO && st->codec->codec_id == AV_CODEC_ID_AAC) {
- if(!sc->start_pad)
- sc->start_pad = 1024;
st->skip_samples = sc->start_pad;
}
}