[MPlayer-cvslog] r37449 - trunk/libmpcodecs/vd_ffmpeg.c

michael subversion at mplayerhq.hu
Mon Aug 17 20:17:38 CEST 2015


Author: michael
Date: Mon Aug 17 20:17:38 2015
New Revision: 37449

Log:
mpcodecs/vd_ffmpeg: prevent build failure in case CODEC_FLAG_EMU_EDGE is removed (due to FF_API_EMU_EDGE)

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Fri Aug 14 21:44:21 2015	(r37448)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Mon Aug 17 20:17:38 2015	(r37449)
@@ -269,6 +269,9 @@ static void set_dr_slice_settings(struct
     if (lavc_param_vismv || (lavc_param_debug & (FF_DEBUG_VIS_MB_TYPE|FF_DEBUG_VIS_QP))) {
         ctx->do_slices = ctx->do_dr1 = 0;
     }
+#ifndef CODEC_FLAG_EMU_EDGE
+#define CODEC_FLAG_EMU_EDGE 0
+#endif
     if(ctx->do_dr1){
         avctx->flags |= CODEC_FLAG_EMU_EDGE;
         avctx->  reget_buffer =


More information about the MPlayer-cvslog mailing list