1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00

avformat/mux: remove unnecessary autobsf hack

autobsf has been ported to the new bsf API.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2016-09-23 02:02:43 -03:00
parent e8a39f584a
commit 75a13115cd

View File

@ -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)