lavc: Drop deprecated way of setting audio delay on encode

Deprecated in 08/2014.
This commit is contained in:
Vittorio Giovara 2017-03-16 15:55:18 -04:00
parent 5182a28b5d
commit 48bb0da050
3 changed files with 0 additions and 12 deletions

View file

@ -646,11 +646,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
}
}
#if FF_API_AUDIOENC_DELAY
if (av_codec_is_encoder(avctx->codec))
avctx->delay = avctx->initial_padding;
#endif
if (av_codec_is_decoder(avctx->codec)) {
/* validate channel layout from the decoder */
if (avctx->channel_layout) {