summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-08-25 13:44:52 -0300
committerJames Almer <jamrial@gmail.com>2017-08-25 13:44:52 -0300
commit8a0954dd51ca5c8f8e1c6d2c2d0961ae24055814 (patch)
tree45f4c543fb8c98b6c73c0a34f730d4dd74181809 /libavcodec/mpegvideo.c
parent2c800eb7375c65ffd56164b03bb035bdb3f1e172 (diff)
avcodec: add missing FF_API_DEBUG_MV wrappers
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index e29558b3a2..82b94253ae 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1743,6 +1743,7 @@ void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict, uint8_t *mbskip_
}
}
+#if FF_API_DEBUG_MV
if ((avctx->debug & (FF_DEBUG_VIS_QP | FF_DEBUG_VIS_MB_TYPE)) ||
(avctx->debug_mv)) {
int mb_y;
@@ -1956,6 +1957,7 @@ void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict, uint8_t *mbskip_
}
}
}
+#endif
}
void ff_print_debug_info(MpegEncContext *s, Picture *p, AVFrame *pict)