diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index a3f98ba01c..5dafd39227 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2466,6 +2466,7 @@ typedef struct AVCodecContext { #define FF_DEBUG_BUFFERS 0x00008000 #define FF_DEBUG_THREADS 0x00010000 +#if FF_API_DEBUG_MV /** * debug * - encoding: Set by user. @@ -2475,6 +2476,7 @@ typedef struct AVCodecContext { #define FF_DEBUG_VIS_MV_P_FOR 0x00000001 //visualize forward predicted MVs of P frames #define FF_DEBUG_VIS_MV_B_FOR 0x00000002 //visualize forward predicted MVs of B frames #define FF_DEBUG_VIS_MV_B_BACK 0x00000004 //visualize backward predicted MVs of B frames +#endif /** * Error recognition; may misdetect some more or less valid parts as errors.