aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.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 /fftools/ffmpeg.c
parent81d070dd09ce154d635414fd07d80a591266b421 (diff)
downloadffmpeg-c3f3b562c92ed8422f2db085f7d2a4a618e1e2d4.tar.gz
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 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 4419c68d11..d7c833be63 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -4032,11 +4032,7 @@ static int check_keyboard_interaction(int64_t cur_time)
if(key == 'D') {
debug = input_streams[0]->dec_ctx->debug << 1;
if(!debug) debug = 1;
- while(debug & (FF_DEBUG_DCT_COEFF
-#if FF_API_DEBUG_MV
- |FF_DEBUG_VIS_QP|FF_DEBUG_VIS_MB_TYPE
-#endif
- )) //unsupported, would just crash
+ while (debug & FF_DEBUG_DCT_COEFF) //unsupported, would just crash
debug += debug;
}else{
char buf[32];