OSDN Git Service

reindent
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 31 May 2009 03:45:45 +0000 (03:45 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 31 May 2009 03:45:45 +0000 (03:45 +0000)
Originally committed as revision 19009 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mpegts.c

index 34983d9..0285fa0 100644 (file)
@@ -558,12 +558,12 @@ static AVStream *new_pes_av_stream(PESContext *pes, uint32_t prog_reg_desc)
     dprintf(pes->stream, "stream_type=%x pid=%x prog_reg_desc=%.4s\n",
             pes->stream_type, pes->pid, (char*)&prog_reg_desc);
 
-        mpegts_find_stream_type(st, pes->stream_type, ISO_types);
-        if (prog_reg_desc == AV_RL32("HDMV") &&
-            st->codec->codec_id == CODEC_ID_PROBE)
-            mpegts_find_stream_type(st, pes->stream_type, HDMV_types);
-        if (st->codec->codec_id == CODEC_ID_PROBE)
-            mpegts_find_stream_type(st, pes->stream_type, MISC_types);
+    mpegts_find_stream_type(st, pes->stream_type, ISO_types);
+    if (prog_reg_desc == AV_RL32("HDMV") &&
+        st->codec->codec_id == CODEC_ID_PROBE)
+        mpegts_find_stream_type(st, pes->stream_type, HDMV_types);
+    if (st->codec->codec_id == CODEC_ID_PROBE)
+        mpegts_find_stream_type(st, pes->stream_type, MISC_types);
 
     return st;
 }