From 97272642208a7dd4a39fafea88317939dc80b8c9 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Tue, 24 Jan 2012 18:25:47 -0500 Subject: ape: do not set AVCodecContext.frame_size. prevents lavf from setting incorrect packet durations. --- libavformat/ape.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat/ape.c') 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; -- cgit v1.2.3