# HG changeset patch # User diego # Date 1188320539 0 # Node ID 09014500046ff803b5ca72121d24844af30784f0 # Parent b91c6b725344d4cef6433956e9f5b8cfce8ecffa cosmetics: Add some explanatory comments to #endif directives. diff -r b91c6b725344 -r 09014500046f libmpcodecs/vd_ffmpeg.c --- 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;