Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2009-05-22 22:34:01 +0400
committerDavid Conrad <lessen42@gmail.com>2009-05-22 22:34:01 +0400
commit533c3c84e7a814bf2ec9157b2563083f061cccf8 (patch)
tree586b89f6fd811f9b9c778d96121c5c1ef5e00fb9 /libavformat/oggparsespeex.c
parent607694c77b245a3d2228c22acd6a4831b7f2bd2d (diff)
Set speex frame_size in ogg demuxer
Originally committed as revision 18895 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggparsespeex.c')
-rw-r--r--libavformat/oggparsespeex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/oggparsespeex.c b/libavformat/oggparsespeex.c
index e6d9d36826..0ac087d7ae 100644
--- 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);