aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Toohill <jtoohill@google.com>2016-08-15 13:13:07 -0700
committerJames Almer <jamrial@gmail.com>2016-09-13 23:59:41 -0300
commit7f386bbe2a7976e39475360800c54c7484ac2719 (patch)
treeacb0863cc2ac2c54f54688d2ef074154208591a8
parent84aebfc74ee35bb9cdd3a3bf64b7c54ae867a916 (diff)
downloadffmpeg-7f386bbe2a7976e39475360800c54c7484ac2719.tar.gz
ffmpeg: copy trailing_padding when using -acodec copy
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index d8584070a9..42259785ae 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3000,6 +3000,7 @@ static int transcode_init(void)
enc_ctx->audio_service_type = dec_ctx->audio_service_type;
enc_ctx->block_align = dec_ctx->block_align;
enc_ctx->initial_padding = dec_ctx->delay;
+ enc_ctx->trailing_padding = dec_ctx->trailing_padding;
enc_ctx->profile = dec_ctx->profile;
#if FF_API_AUDIOENC_DELAY
enc_ctx->delay = dec_ctx->delay;