ape: do not set AVCodecContext.frame_size.

prevents lavf from setting incorrect packet durations.
This commit is contained in:
Justin Ruggles 2012-01-24 18:25:47 -05:00
parent 2dd18d4435
commit 9727264220

View File

@ -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;