summaryrefslogtreecommitdiff
path: root/libavformat/mux.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-09-23 02:02:43 -0300
committerJames Almer <jamrial@gmail.com>2016-11-05 22:42:23 -0300
commit75a13115cd6b961f4f6779423353c1cf25db4c0e (patch)
treeb2b857bfa3ec9074432311587385e86cd5c652c4 /libavformat/mux.c
parente8a39f584a97fa81919393596b7ab6ac23783a9b (diff)
avformat/mux: remove unnecessary autobsf hack
autobsf has been ported to the new bsf API. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/mux.c')
-rw-r--r--libavformat/mux.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 0d285f4a59..77823a4e75 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -309,12 +309,6 @@ FF_DISABLE_DEPRECATION_WARNINGS
FF_ENABLE_DEPRECATION_WARNINGS
#endif
- /* update internal context from codecpar, old bsf api needs this
- * FIXME: remove when autobsf uses new bsf API */
- ret = avcodec_parameters_to_context(st->internal->avctx, st->codecpar);
- if (ret < 0)
- goto fail;
-
if (!st->time_base.num) {
/* fall back on the default timebase values */
if (par->codec_type == AVMEDIA_TYPE_AUDIO && par->sample_rate)