[MPlayer-cvslog] r24876 - trunk/libmpdemux/demux_lavf.c

nicodvb subversion at mplayerhq.hu
Sat Oct 27 22:04:16 CEST 2007


Author: nicodvb
Date: Sat Oct 27 22:04:16 2007
New Revision: 24876

Log:
reindented previously modified code

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	(original)
+++ trunk/libmpdemux/demux_lavf.c	Sat Oct 27 22:04:16 2007
@@ -520,8 +520,8 @@ static demuxer_t* demux_open_lavf(demuxe
             p = (p + 1) % avfc->nb_programs;
         } while(p!=start);
     } else
-    for(i=0; i<avfc->nb_streams; i++)
-        handle_stream(demuxer, avfc, i);
+        for(i=0; i<avfc->nb_streams; i++)
+            handle_stream(demuxer, avfc, i);
     
     mp_msg(MSGT_HEADER,MSGL_V,"LAVF: %d audio and %d video streams found\n",priv->audio_streams,priv->video_streams);
     mp_msg(MSGT_HEADER,MSGL_V,"LAVF: build %d\n", LIBAVFORMAT_BUILD);
@@ -700,10 +700,10 @@ static int demux_lavf_control(demuxer_t 
 	    {
 	        ds_free_packs(ds);
 	        if(ds->id >= 0)
-	        priv->avfc->streams[ds->id]->discard = AVDISCARD_ALL;
+	            priv->avfc->streams[ds->id]->discard = AVDISCARD_ALL;
 	        *((int*)arg) = ds->id = newid;
 	        if(newid >= 0)
-	        priv->avfc->streams[newid]->discard = AVDISCARD_NONE;
+	            priv->avfc->streams[newid]->discard = AVDISCARD_NONE;
 	        return DEMUXER_CTRL_OK;
 	    }
         }



More information about the MPlayer-cvslog mailing list