[FFmpeg-cvslog] ape: do not set AVCodecContext.frame_size.
Justin Ruggles
git at videolan.org
Tue Mar 6 06:15:59 CET 2012
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Tue Jan 24 18:25:47 2012 -0500| [97272642208a7dd4a39fafea88317939dc80b8c9] | committer: Justin Ruggles
ape: do not set AVCodecContext.frame_size.
prevents lavf from setting incorrect packet durations.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=97272642208a7dd4a39fafea88317939dc80b8c9
---
libavformat/ape.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavformat/ape.c b/libavformat/ape.c
index 4d13e48..1968286 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;
More information about the ffmpeg-cvslog
mailing list