summaryrefslogtreecommitdiffstats
path: root/libhb/platform/macosx
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-24 03:18:52 +0000
committerkonablend <[email protected]>2009-06-24 03:18:52 +0000
commit3082c33859dd160a4db6b0f44ea83a092d44a823 (patch)
tree6c9bbaeceea6de30b569a5b1c0c78fa1dbb1cb61 /libhb/platform/macosx
parent82cb2f642093c2a9a8e2f8f484dbb96dccc53c2a (diff)
- fixed gcc warnings for various unused vars, implicit function decls, signedness.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2612 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/platform/macosx')
-rw-r--r--libhb/platform/macosx/encca_aac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/platform/macosx/encca_aac.c b/libhb/platform/macosx/encca_aac.c
index 69b29ec4b..26aff207a 100644
--- a/libhb/platform/macosx/encca_aac.c
+++ b/libhb/platform/macosx/encca_aac.c
@@ -57,7 +57,7 @@ static int readDescr(UInt8 **buffer, int *tag)
}
// based off of mov_read_esds from mov.c in ffmpeg's libavformat
-static long ReadESDSDescExt(void* descExt, UInt8 **buffer, int *size, int versionFlags)
+static long ReadESDSDescExt(void* descExt, UInt8 **buffer, UInt32 *size, int versionFlags)
{
UInt8 *esds = (UInt8 *) descExt;
int tag, len;
@@ -154,7 +154,7 @@ int encCoreAudioInit( hb_work_object_t * w, hb_job_t * job )
// get available bitrates
AudioValueRange *bitrates;
- ssize_t bitrateCounts, n;
+ ssize_t bitrateCounts;
err = AudioConverterGetPropertyInfo( pv->converter, kAudioConverterApplicableEncodeBitRates,
&tmpsiz, NULL);
bitrates = malloc( tmpsiz );
@@ -200,7 +200,7 @@ int encCoreAudioInit( hb_work_object_t * w, hb_job_t * job )
&tmp, w->config->aac.bytes );
// CoreAudio returns a complete ESDS, but we only need
// the DecoderSpecific info.
- UInt8* buffer;
+ UInt8* buffer = NULL;
ReadESDSDescExt(w->config->aac.bytes, &buffer, &tmpsiz, 0);
w->config->aac.length = tmpsiz;
memmove( w->config->aac.bytes, buffer,