Commit b4b81c16 authored by andoma's avatar andoma

fix indent



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10847 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fdb5ee51
...@@ -437,19 +437,19 @@ static void mp3_parse_xing(AVFormatContext *s, AVStream *st) ...@@ -437,19 +437,19 @@ static void mp3_parse_xing(AVFormatContext *s, AVStream *st)
ff_mpegaudio_decode_header(&c, get_be32(&s->pb)); ff_mpegaudio_decode_header(&c, get_be32(&s->pb));
if(c.layer != 3) if(c.layer != 3)
return; return;
/* Check for Xing / Info tag */ /* Check for Xing / Info tag */
url_fseek(&s->pb, xing_offtbl[c.lsf == 1][c.nb_channels == 1], SEEK_CUR); url_fseek(&s->pb, xing_offtbl[c.lsf == 1][c.nb_channels == 1], SEEK_CUR);
v = get_be32(&s->pb); v = get_be32(&s->pb);
if(v == MKBETAG('X', 'i', 'n', 'g') || v == MKBETAG('I', 'n', 'f', 'o')) { if(v == MKBETAG('X', 'i', 'n', 'g') || v == MKBETAG('I', 'n', 'f', 'o')) {
v = get_be32(&s->pb); v = get_be32(&s->pb);
if(v & 0x1) if(v & 0x1)
frames = get_be32(&s->pb); frames = get_be32(&s->pb);
} }
if(frames < 0) if(frames < 0)
return; return;
spf = c.lsf ? 576 : 1152; /* Samples per frame, layer 3 */ spf = c.lsf ? 576 : 1152; /* Samples per frame, layer 3 */
st->duration = av_rescale_q(frames, (AVRational){spf, c.sample_rate}, st->duration = av_rescale_q(frames, (AVRational){spf, c.sample_rate},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment