summaryrefslogtreecommitdiffstats
path: root/libhb/encavcodecaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encavcodecaudio.c')
-rw-r--r--libhb/encavcodecaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/encavcodecaudio.c b/libhb/encavcodecaudio.c
index 0fc23faa0..867b56cc5 100644
--- a/libhb/encavcodecaudio.c
+++ b/libhb/encavcodecaudio.c
@@ -137,10 +137,10 @@ static int encavcodecaInit(hb_work_object_t *w, hb_job_t *job)
pv->list = hb_list_init();
- if (context->extradata)
+ if (context->extradata != NULL)
{
- memcpy(w->config->extradata.bytes,
- context->extradata, context->extradata_size);
+ memcpy(w->config->extradata.bytes, context->extradata,
+ context->extradata_size);
w->config->extradata.length = context->extradata_size;
}