summaryrefslogtreecommitdiff
path: root/libavformat/oggparsespeex.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2009-03-21 08:22:36 +0000
committerDavid Conrad <lessen42@gmail.com>2009-03-21 08:22:36 +0000
commit1a4ab332c6e78c82d23dd5bd3f9ab9f6cae3a2a2 (patch)
treebc8b9e57aa01479f9bda79216b0123178c70e82d /libavformat/oggparsespeex.c
parent6e6abd0237dc669d9f35f151251e361031343c1e (diff)
Reindent
Originally committed as revision 18102 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggparsespeex.c')
-rw-r--r--libavformat/oggparsespeex.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavformat/oggparsespeex.c b/libavformat/oggparsespeex.c
index 19789e0930..3f6d778fe0 100644
--- a/libavformat/oggparsespeex.c
+++ b/libavformat/oggparsespeex.c
@@ -40,17 +40,17 @@ static int speex_header(AVFormatContext *s, int idx) {
return 0;
if (os->seq == 0) {
- st->codec->codec_type = CODEC_TYPE_AUDIO;
- st->codec->codec_id = CODEC_ID_SPEEX;
+ st->codec->codec_type = CODEC_TYPE_AUDIO;
+ st->codec->codec_id = CODEC_ID_SPEEX;
- st->codec->sample_rate = AV_RL32(p + 36);
- st->codec->channels = AV_RL32(p + 48);
- st->codec->extradata_size = os->psize;
- st->codec->extradata = av_malloc(st->codec->extradata_size);
- memcpy(st->codec->extradata, p, st->codec->extradata_size);
+ st->codec->sample_rate = AV_RL32(p + 36);
+ st->codec->channels = AV_RL32(p + 48);
+ st->codec->extradata_size = os->psize;
+ st->codec->extradata = av_malloc(st->codec->extradata_size);
+ memcpy(st->codec->extradata, p, st->codec->extradata_size);
- st->time_base.num = 1;
- st->time_base.den = st->codec->sample_rate;
+ st->time_base.num = 1;
+ st->time_base.den = st->codec->sample_rate;
} else
vorbis_comment(s, p, os->psize);