From eb9c4c12ee71da2a4544c8a98494abb24dc2e86f Mon Sep 17 00:00:00 2001 From: jstebbins Date: Wed, 21 Nov 2012 22:28:04 +0000 Subject: [PATCH] libhb: fix generation of silence buffer for filling audio gaps git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5076 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/sync.c b/libhb/sync.c index f416d1664..16517cb3a 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -992,7 +992,7 @@ static void InitAudio( hb_job_t * job, hb_sync_common_t * common, int i ) AVPacket pkt; int got_packet; av_init_packet(&pkt); - pkt.data = zeros; + pkt.data = sync->silence_buf; pkt.size = input_size; int ret = avcodec_encode_audio2( c, &pkt, &frame, &got_packet); -- 2.40.0