changeset 4948:09e81ac02d25 libavformat

Set speex frame_size in ogg demuxer
author conrad
date Fri, 22 May 2009 18:34:01 +0000
parents 41d709e71f5f
children 476f163342ba
files oggparsespeex.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/oggparsespeex.c	Thu May 21 23:12:41 2009 +0000
+++ b/oggparsespeex.c	Fri May 22 18:34:01 2009 +0000
@@ -45,6 +45,7 @@
 
         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);