projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
607694c
)
Set speex frame_size in ogg demuxer
author
David Conrad
<lessen42@gmail.com>
Fri, 22 May 2009 18:34:01 +0000
(18:34 +0000)
committer
David Conrad
<lessen42@gmail.com>
Fri, 22 May 2009 18:34:01 +0000
(18:34 +0000)
Originally committed as revision 18895 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/oggparsespeex.c
patch
|
blob
|
history
diff --git
a/libavformat/oggparsespeex.c
b/libavformat/oggparsespeex.c
index
e6d9d36
..
0ac087d
100644
(file)
--- a/
libavformat/oggparsespeex.c
+++ b/
libavformat/oggparsespeex.c
@@
-45,6
+45,7
@@
static int speex_header(AVFormatContext *s, int idx) {
st->codec->sample_rate = AV_RL32(p + 36);
st->codec->channels = AV_RL32(p + 48);
+ st->codec->frame_size = AV_RL32(p + 56);
st->codec->extradata_size = os->psize;
st->codec->extradata = av_malloc(st->codec->extradata_size);
memcpy(st->codec->extradata, p, st->codec->extradata_size);