ape: do not set AVCodecContext.frame_size.
prevents lavf from setting incorrect packet durations.
This commit is contained in:
parent
2dd18d4435
commit
9727264220
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user