diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-28 17:02:19 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-28 17:02:19 +0000 |
commit | a2c5abc3d20985aa1e270c86790c0ebb6848e5c2 (patch) | |
tree | a80f2dced813ded97db611b320b8a46dafeefad3 | |
parent | 37fe15b1c86e54630edf7058d9447006c2bb1081 (diff) |
cosmetics: Add some explanatory comments to #endif directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24268 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index 6c5cd3779d..baa008a067 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -264,7 +264,7 @@ static int init(sh_video_t *sh){ 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 @@ static int init(sh_video_t *sh){ 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; |