From 200cfab8c4c21a0494470441bf0e4528f0df41d6 Mon Sep 17 00:00:00 2001 From: Jan Gerber Date: Thu, 19 Dec 2013 20:26:49 +0530 Subject: [PATCH] remuxing .opus files to .webm codec->delay must be copied too Signed-off-by: Michael Niedermayer --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index a8167ede3f..6a2ff98780 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2375,6 +2375,7 @@ static int transcode_init(void) codec->frame_size = icodec->frame_size; codec->audio_service_type = icodec->audio_service_type; codec->block_align = icodec->block_align; + codec->delay = icodec->delay; if((codec->block_align == 1 || codec->block_align == 1152 || codec->block_align == 576) && codec->codec_id == AV_CODEC_ID_MP3) codec->block_align= 0; if(codec->codec_id == AV_CODEC_ID_AC3)