diff options
author | Justin Ruggles | 2012-12-10 12:48:18 -0500 |
---|---|---|
committer | Justin Ruggles | 2012-12-11 09:37:17 -0500 |
commit | d04c17c91363a6b15d1ac2d79c817f3d5e2998b3 (patch) | |
tree | eedd6f5e2e7a07daeb1d356c9f92b2f776d0efc1 | |
parent | e70c5b034c4787377e82cab2d5565486baec0c2a (diff) |
swfdec: cosmetics: fix indentation
-rw-r--r-- | libavformat/swfdec.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c index d8a9852a89..d7a53145c6 100644 --- a/libavformat/swfdec.c +++ b/libavformat/swfdec.c @@ -180,22 +180,22 @@ static int swf_read_packet(AVFormatContext *s, AVPacket *pkt) for (i = 0; i < s->nb_streams; i++) { st = s->streams[i]; if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO && st->id == -1) { - if (st->codec->codec_id == AV_CODEC_ID_MP3) { - avio_skip(pb, 4); - len -= 4; - if (len <= 0) - goto skip; - if ((res = av_get_packet(pb, pkt, len)) < 0) - return res; - } else { // ADPCM, PCM - if (len <= 0) - goto skip; - if ((res = av_get_packet(pb, pkt, len)) < 0) - return res; - } - pkt->pos = pos; - pkt->stream_index = st->index; - return pkt->size; + if (st->codec->codec_id == AV_CODEC_ID_MP3) { + avio_skip(pb, 4); + len -= 4; + if (len <= 0) + goto skip; + if ((res = av_get_packet(pb, pkt, len)) < 0) + return res; + } else { // ADPCM, PCM + if (len <= 0) + goto skip; + if ((res = av_get_packet(pb, pkt, len)) < 0) + return res; + } + pkt->pos = pos; + pkt->stream_index = st->index; + return pkt->size; } } } else if (tag == TAG_JPEG2) { |