]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/segment.c
avformat: remove deprecated AVStream.codec
[ffmpeg] / libavformat / segment.c
index faa8eb8f920e537e4ee86af32def8c3f412bd16e..74106445e6ef0a66dcf86ec49c50a3ff6bf2a3ac 100644 (file)
@@ -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;