git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd18d4
)
ape: do not set AVCodecContext.frame_size.
author
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 24 Jan 2012 23:25:47 +0000
(18:25 -0500)
committer
Justin 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
patch
|
blob
|
history
diff --git
a/libavformat/ape.c
b/libavformat/ape.c
index
4d13e48
..
1968286
100644
(file)
--- 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;