[FFmpeg-devel] [PATCH 3/3] ffmpeg: copy trailing_padding when using -acodec copy
Jon Toohill
jtoohill at google.com
Thu Jun 16 20:16:07 CEST 2016
---
ffmpeg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ffmpeg.c b/ffmpeg.c
index 652774f..442f818 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3001,6 +3001,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;
--
2.8.0.rc3.226.g39d4020
More information about the ffmpeg-devel
mailing list