[FFmpeg-cvslog] r18895 - trunk/libavformat/oggparsespeex.c
conrad
subversion
Fri May 22 20:34:02 CEST 2009
Author: conrad
Date: Fri May 22 20:34:01 2009
New Revision: 18895
Log:
Set speex frame_size in ogg demuxer
Modified:
trunk/libavformat/oggparsespeex.c
Modified: trunk/libavformat/oggparsespeex.c
==============================================================================
--- trunk/libavformat/oggparsespeex.c Fri May 22 19:14:22 2009 (r18894)
+++ trunk/libavformat/oggparsespeex.c Fri May 22 20:34:01 2009 (r18895)
@@ -45,6 +45,7 @@ static int speex_header(AVFormatContext
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);
More information about the ffmpeg-cvslog
mailing list