changeset 24248:09014500046f

cosmetics: Add some explanatory comments to #endif directives.
author diego
date Tue, 28 Aug 2007 17:02:19 +0000
parents b91c6b725344
children 9da2161b5554
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Tue Aug 28 16:59:24 2007 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Tue Aug 28 17:02:19 2007 +0000
@@ -264,7 +264,7 @@
     if(lavc_codec->capabilities & CODEC_CAP_HWACCEL){
 #else
     if(lavc_codec->id == CODEC_ID_MPEG2VIDEO_XVMC){
-#endif
+#endif /* CODEC_CAP_HWACCEL */
         mp_msg(MSGT_DECVIDEO, MSGL_INFO, MSGTR_MPCODECS_XVMCAcceleratedCodec);
         assert(ctx->do_dr1);//these are must to!
         assert(ctx->do_slices); //it is (vo_)ffmpeg bug if this fails
@@ -275,7 +275,7 @@
         avctx->draw_horiz_band = mc_render_slice;
         avctx->slice_flags=SLICE_FLAG_CODED_ORDER|SLICE_FLAG_ALLOW_FIELD;
     }else
-#endif
+#endif /* HAVE_XVMC */
     if(ctx->do_dr1){
         avctx->flags|= CODEC_FLAG_EMU_EDGE; 
         avctx->get_buffer= get_buffer;