summaryrefslogtreecommitdiff
path: root/libavcodec/mpegpicture.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-01-24 19:34:56 -0300
committerJames Almer <jamrial@gmail.com>2021-01-25 19:03:22 -0300
commitc3f3b562c92ed8422f2db085f7d2a4a618e1e2d4 (patch)
treececd1a2e00d95f1d30e72d3eef2ac4b96cd32719 /libavcodec/mpegpicture.c
parent81d070dd09ce154d635414fd07d80a591266b421 (diff)
avcodec: remove long dead debug_mv code
FF_API_DEBUG_MV has been zero since ffmpeg 4.0 Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mpegpicture.c')
-rw-r--r--libavcodec/mpegpicture.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c
index e495e315e6..e3f648895d 100644
--- a/libavcodec/mpegpicture.c
+++ b/libavcodec/mpegpicture.c
@@ -203,9 +203,6 @@ static int alloc_picture_tables(AVCodecContext *avctx, Picture *pic, int encodin
}
if (out_format == FMT_H263 || encoding ||
-#if FF_API_DEBUG_MV
- avctx->debug_mv ||
-#endif
(avctx->export_side_data & AV_CODEC_EXPORT_DATA_MVS)) {
int mv_size = 2 * (b8_array_size + 4) * sizeof(int16_t);
int ref_index_size = 4 * mb_array_size;