summaryrefslogtreecommitdiffstats
path: root/common/recorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/recorder.c')
-rw-r--r--common/recorder.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/recorder.c b/common/recorder.c
index 1af736a71d..58bf257883 100644
--- a/common/recorder.c
+++ b/common/recorder.c
@@ -91,14 +91,12 @@ static int add_stream(struct mp_recorder *priv, struct sh_stream *sh)
if (!avp)
return -1;
-#if LIBAVCODEC_VERSION_MICRO >= 100
// We don't know the delay, so make something up. If the format requires
// DTS, the result will probably be broken. FFmpeg provides nothing better
// yet (unless you demux with libavformat, which contains tons of hacks
// that try to determine a PTS).
if (!sh->codec->lav_codecpar)
avp->video_delay = 16;
-#endif
if (avp->codec_id == AV_CODEC_ID_NONE)
return -1;