aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-02-25 12:44:15 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-02-25 12:44:15 +0000
commit17871a02ad65dfeed33ece65fb774998056ed5c2 (patch)
tree8d6709036b5d609566247a7b1b616bd3b19f6b28
parentb014dd7695544a41566c18923c243d430d28a932 (diff)
downloadffmpeg-17871a02ad65dfeed33ece65fb774998056ed5c2.tar.gz
indentation
Originally committed as revision 12207 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mov.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index f453903f2f..b03c44c176 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -294,12 +294,12 @@ static int mov_read_esds(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
st->codec->extradata = av_mallocz(len + FF_INPUT_BUFFER_PADDING_SIZE);
if (!st->codec->extradata)
return AVERROR(ENOMEM);
- get_buffer(pb, st->codec->extradata, len);
- st->codec->extradata_size = len;
- /* from mplayer */
- if ((*st->codec->extradata >> 3) == 29) {
- st->codec->codec_id = CODEC_ID_MP3ON4;
- }
+ get_buffer(pb, st->codec->extradata, len);
+ st->codec->extradata_size = len;
+ /* from mplayer */
+ if ((*st->codec->extradata >> 3) == 29) {
+ st->codec->codec_id = CODEC_ID_MP3ON4;
+ }
}
}
return 0;
@@ -423,10 +423,10 @@ static int mov_read_smi(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
st->codec->extradata = av_mallocz(atom.size + 0x5a + FF_INPUT_BUFFER_PADDING_SIZE);
if (!st->codec->extradata)
return AVERROR(ENOMEM);
- st->codec->extradata_size = 0x5a + atom.size;
- memcpy(st->codec->extradata, "SVQ3", 4); // fake
- get_buffer(pb, st->codec->extradata + 0x5a, atom.size);
- dprintf(c->fc, "Reading SMI %"PRId64" %s\n", atom.size, st->codec->extradata + 0x5a);
+ st->codec->extradata_size = 0x5a + atom.size;
+ memcpy(st->codec->extradata, "SVQ3", 4); // fake
+ get_buffer(pb, st->codec->extradata + 0x5a, atom.size);
+ dprintf(c->fc, "Reading SMI %"PRId64" %s\n", atom.size, st->codec->extradata + 0x5a);
return 0;
}