Add some #endif comments to ease understanding.
authorDiego Biurrun <diego@biurrun.de>
Tue, 5 Oct 2010 11:03:48 +0000 (11:03 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 5 Oct 2010 11:03:48 +0000 (11:03 +0000)
Originally committed as revision 25342 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c

index 877b38d..6ce0ed5 100644 (file)
@@ -1643,7 +1643,7 @@ redirect:
     ff_network_close();
     return err;
 }
-#endif
+#endif /* CONFIG_RTSP_DEMUXER || CONFIG_RTSP_MUXER */
 
 #if CONFIG_RTSP_DEMUXER
 static int rtsp_read_header(AVFormatContext *s,
@@ -2072,7 +2072,7 @@ AVInputFormat rtsp_demuxer = {
     .read_play = rtsp_read_play,
     .read_pause = rtsp_read_pause,
 };
-#endif
+#endif /* CONFIG_RTSP_DEMUXER */
 
 static int sdp_probe(AVProbeData *p1)
 {