summaryrefslogtreecommitdiffstats
path: root/libhb/platform/macosx/encca_aac.c
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2018-01-12 20:54:08 +0100
committerDamiano Galassi <[email protected]>2018-01-12 20:55:14 +0100
commit696ebe518b38bb186e7f6692f91a3c799f3c838c (patch)
treeecc88a4c55f1a5c0414f57fb175149b1fe8c9d3b /libhb/platform/macosx/encca_aac.c
parent9bd2b8e50ca2e8e0b52580714b54dbca33b809a5 (diff)
libhb: fix a number of issues reported by clang.
Diffstat (limited to 'libhb/platform/macosx/encca_aac.c')
-rw-r--r--libhb/platform/macosx/encca_aac.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libhb/platform/macosx/encca_aac.c b/libhb/platform/macosx/encca_aac.c
index 22c35bbd9..726bc710b 100644
--- a/libhb/platform/macosx/encca_aac.c
+++ b/libhb/platform/macosx/encca_aac.c
@@ -227,13 +227,13 @@ int encCoreAudioInit(hb_work_object_t *w, hb_job_t *job, enum AAC_MODE mode)
// get available bitrates
AudioValueRange *bitrates;
ssize_t bitrateCounts;
- err = AudioConverterGetPropertyInfo(pv->converter,
- kAudioConverterApplicableEncodeBitRates,
- &tmpsiz, NULL);
+ AudioConverterGetPropertyInfo(pv->converter,
+ kAudioConverterApplicableEncodeBitRates,
+ &tmpsiz, NULL);
bitrates = malloc(tmpsiz);
- err = AudioConverterGetProperty(pv->converter,
- kAudioConverterApplicableEncodeBitRates,
- &tmpsiz, bitrates);
+ AudioConverterGetProperty(pv->converter,
+ kAudioConverterApplicableEncodeBitRates,
+ &tmpsiz, bitrates);
bitrateCounts = tmpsiz / sizeof(AudioValueRange);
// set bitrate