aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-01-24 18:25:47 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-03-05 13:08:17 -0500
commit97272642208a7dd4a39fafea88317939dc80b8c9 (patch)
treedc62e289d5ce2f6063224f3c9859856cfa264916
parent2dd18d4435c27a469b89e1d6b061eb9b4661687d (diff)
downloadffmpeg-97272642208a7dd4a39fafea88317939dc80b8c9.tar.gz
ape: do not set AVCodecContext.frame_size.
prevents lavf from setting incorrect packet durations.
-rw-r--r--libavformat/ape.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/ape.c b/libavformat/ape.c
index 4d13e4836c..1968286745 100644
--- a/libavformat/ape.c
+++ b/libavformat/ape.c
@@ -335,7 +335,6 @@ static int ape_read_header(AVFormatContext * s)
st->codec->channels = ape->channels;
st->codec->sample_rate = ape->samplerate;
st->codec->bits_per_coded_sample = ape->bps;
- st->codec->frame_size = MAC_SUBFRAME_SIZE;
st->nb_frames = ape->totalframes;
st->start_time = 0;