diff options
author | jstebbins <[email protected]> | 2012-11-21 22:28:04 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2012-11-21 22:28:04 +0000 |
commit | eb9c4c12ee71da2a4544c8a98494abb24dc2e86f (patch) | |
tree | b7f49ea29a03cc28e78458917291517a8abe9167 /libhb | |
parent | 67c78f708522efcf3ca03842ea5eb669fc372b63 (diff) |
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
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |