diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-16 15:55:18 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-23 10:09:16 +0100 |
commit | 48bb0da050329e5111b00a12dfc154b7e78fb3a3 (patch) | |
tree | 33389fefc8c6eabe385f64ecb461ec0b96a013d4 /libavcodec/utils.c | |
parent | 5182a28b5de060c51c21b36053ab205bfbbbbe31 (diff) | |
download | ffmpeg-48bb0da050329e5111b00a12dfc154b7e78fb3a3.tar.gz |
lavc: Drop deprecated way of setting audio delay on encode
Deprecated in 08/2014.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 61bb09b031..a6408cecbb 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -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) { |