summaryrefslogtreecommitdiffstats
path: root/libhb/encavcodecaudio.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-07-12 15:09:08 -0700
committerJohn Stebbins <[email protected]>2017-07-12 15:09:08 -0700
commit03fd75b764d068e54c3c9704157b58eb6bf8b46b (patch)
treec0654a26813c5b0af23baea5a190a67b8be4866e /libhb/encavcodecaudio.c
parent7263ff2d6900fdfa21f0f4a948bc1b5f321617b3 (diff)
silence new compiler warnings on Fedora 26
Diffstat (limited to 'libhb/encavcodecaudio.c')
-rw-r--r--libhb/encavcodecaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/encavcodecaudio.c b/libhb/encavcodecaudio.c
index e13963292..480d1e684 100644
--- a/libhb/encavcodecaudio.c
+++ b/libhb/encavcodecaudio.c
@@ -182,8 +182,8 @@ static int encavcodecaInit(hb_work_object_t *w, hb_job_t *job)
if (audio->config.out.codec == HB_ACODEC_FDK_AAC ||
audio->config.out.codec == HB_ACODEC_FDK_HAAC)
{
- char vbr[2];
- snprintf(vbr, 2, "%.1g", audio->config.out.quality);
+ char vbr[8];
+ snprintf(vbr, 8, "%.1g", audio->config.out.quality);
av_dict_set(&av_opts, "vbr", vbr, 0);
}
}