ape: do not set AVCodecContext.frame_size.
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 24 Jan 2012 23:25:47 +0000 (18:25 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 5 Mar 2012 18:08:17 +0000 (13:08 -0500)
prevents lavf from setting incorrect packet durations.

libavformat/ape.c

index 4d13e48..1968286 100644 (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;