aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mp3.c
diff options
context:
space:
mode:
authorAndreas Öman <andreas@lonelycoder.com>2007-10-23 17:28:30 +0000
committerAndreas Öman <andreas@lonelycoder.com>2007-10-23 17:28:30 +0000
commit478638abad7df6e65f1afeaf4b0cd2bc4e545865 (patch)
tree2d1d602a2b36e1d8b2a9d4ed4fa3b0b905f2f924 /libavformat/mp3.c
parentdb233e832f0b327e5fc6a37816d4bc7cea6299b8 (diff)
downloadffmpeg-478638abad7df6e65f1afeaf4b0cd2bc4e545865.tar.gz
fix indent
Originally committed as revision 10847 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mp3.c')
-rw-r--r--libavformat/mp3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c
index a711d7ff5f..7781bd9381 100644
--- a/libavformat/mp3.c
+++ b/libavformat/mp3.c
@@ -437,19 +437,19 @@ static void mp3_parse_xing(AVFormatContext *s, AVStream *st)
ff_mpegaudio_decode_header(&c, get_be32(&s->pb));
if(c.layer != 3)
- return;
+ return;
/* Check for Xing / Info tag */
url_fseek(&s->pb, xing_offtbl[c.lsf == 1][c.nb_channels == 1], SEEK_CUR);
v = get_be32(&s->pb);
if(v == MKBETAG('X', 'i', 'n', 'g') || v == MKBETAG('I', 'n', 'f', 'o')) {
- v = get_be32(&s->pb);
- if(v & 0x1)
- frames = get_be32(&s->pb);
+ v = get_be32(&s->pb);
+ if(v & 0x1)
+ frames = get_be32(&s->pb);
}
if(frames < 0)
- return;
+ return;
spf = c.lsf ? 576 : 1152; /* Samples per frame, layer 3 */
st->duration = av_rescale_q(frames, (AVRational){spf, c.sample_rate},