mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-03 06:30:37 +00:00
lavc: Drop deprecated way of setting audio delay on encode
Deprecated in 08/2014.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user