summaryrefslogtreecommitdiff
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-04-18 10:59:35 -0300
committerJames Almer <jamrial@gmail.com>2021-04-27 11:47:24 -0300
commit3749eede66c3774799766b1f246afae8a6ffc9bb (patch)
tree36d6bf7ddb95526618f5d0b2e5787254e20d46df /libavformat/segment.c
parente5af9203098a889f36b759652615046254d45102 (diff)
avformat: remove deprecated AVStream.codec
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index faa8eb8f92..74106445e6 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -178,12 +178,6 @@ static int segment_mux_init(AVFormatContext *s)
} else {
opar->codec_tag = 0;
}
-#if FF_API_LAVF_AVCTX
-FF_DISABLE_DEPRECATION_WARNINGS
- if (ipar->codec_tag == MKTAG('t','m','c','d'))
- st->codec->time_base = ist->codec->time_base;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
}
return 0;