summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-11-03 15:04:47 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-11-03 15:04:47 +0000
commit80c5b9a161734928f4a0ea3eb0bf22441a869fb8 (patch)
tree78618e85cbb7a99751c6cd83f742086533e45517 /libavformat/mov.c
parent152e9a43f2435e6f2cdaf50ad0605e951c774386 (diff)
indention
Originally committed as revision 6886 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index a0fef18614..df4edc332b 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -953,21 +953,21 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
//Read QT version 1 fields. In version 0 theese dont exist
dprintf("version =%d, isom =%d\n",version,c->isom);
if(!c->isom) {
- if(version==1) {
- sc->sample_size_v1.den = get_be32(pb); /* samples per packet */
- get_be32(pb); /* bytes per packet */
- sc->sample_size_v1.num = get_be32(pb); /* bytes per frame */
- get_be32(pb); /* bytes per sample */
- } else if(version==2) {
- get_be32(pb); /* sizeof struct only */
- st->codec->sample_rate = av_int2dbl(get_be64(pb)); /* float 64 */
- st->codec->channels = get_be32(pb);
- get_be32(pb); /* always 0x7F000000 */
- get_be32(pb); /* bits per channel if sound is uncompressed */
- get_be32(pb); /* lcpm format specific flag */
- get_be32(pb); /* bytes per audio packet if constant */
- get_be32(pb); /* lpcm frames per audio packet if constant */
- }
+ if(version==1) {
+ sc->sample_size_v1.den = get_be32(pb); /* samples per packet */
+ get_be32(pb); /* bytes per packet */
+ sc->sample_size_v1.num = get_be32(pb); /* bytes per frame */
+ get_be32(pb); /* bytes per sample */
+ } else if(version==2) {
+ get_be32(pb); /* sizeof struct only */
+ st->codec->sample_rate = av_int2dbl(get_be64(pb)); /* float 64 */
+ st->codec->channels = get_be32(pb);
+ get_be32(pb); /* always 0x7F000000 */
+ get_be32(pb); /* bits per channel if sound is uncompressed */
+ get_be32(pb); /* lcpm format specific flag */
+ get_be32(pb); /* bytes per audio packet if constant */
+ get_be32(pb); /* lpcm frames per audio packet if constant */
+ }
}
bits_per_sample = av_get_bits_per_sample(st->codec->codec_id);