diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-16 22:55:18 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-23 12:09:16 +0300 |
commit | 48bb0da050329e5111b00a12dfc154b7e78fb3a3 (patch) | |
tree | 33389fefc8c6eabe385f64ecb461ec0b96a013d4 /libavcodec/encode.c | |
parent | 5182a28b5de060c51c21b36053ab205bfbbbbe31 (diff) |
lavc: Drop deprecated way of setting audio delay on encode
Deprecated in 08/2014.
Diffstat (limited to 'libavcodec/encode.c')
-rw-r--r-- | libavcodec/encode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/encode.c b/libavcodec/encode.c index fc27a070e1..9bb7ae5bde 100644 --- a/libavcodec/encode.c +++ b/libavcodec/encode.c @@ -194,10 +194,6 @@ int attribute_align_arg avcodec_encode_audio2(AVCodecContext *avctx, end: av_frame_free(&padded_frame); -#if FF_API_AUDIOENC_DELAY - avctx->delay = avctx->initial_padding; -#endif - return ret; } |