diff options
author | James Almer <jamrial@gmail.com> | 2017-08-25 13:44:52 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-08-25 13:44:52 -0300 |
commit | 8a0954dd51ca5c8f8e1c6d2c2d0961ae24055814 (patch) | |
tree | 45f4c543fb8c98b6c73c0a34f730d4dd74181809 /libavcodec/mpegpicture.c | |
parent | 2c800eb7375c65ffd56164b03bb035bdb3f1e172 (diff) | |
download | ffmpeg-8a0954dd51ca5c8f8e1c6d2c2d0961ae24055814.tar.gz |
avcodec: add missing FF_API_DEBUG_MV wrappers
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mpegpicture.c')
-rw-r--r-- | libavcodec/mpegpicture.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c index 302f9d20d3..53fb35b4bd 100644 --- a/libavcodec/mpegpicture.c +++ b/libavcodec/mpegpicture.c @@ -202,7 +202,10 @@ static int alloc_picture_tables(AVCodecContext *avctx, Picture *pic, int encodin return AVERROR(ENOMEM); } - if (out_format == FMT_H263 || encoding || avctx->debug_mv || + if (out_format == FMT_H263 || encoding || +#if FF_API_DEBUG_MV + avctx->debug_mv || +#endif (avctx->flags2 & AV_CODEC_FLAG2_EXPORT_MVS)) { int mv_size = 2 * (b8_array_size + 4) * sizeof(int16_t); int ref_index_size = 4 * mb_array_size; |