Bug 941296 - Add a missing close brace. r=cpearce

Accidentally clobbered this when adding the APPLEMEDIA #ifdef.
Fixes the ffmpeg build problem.
Bug 941296 - Fix warnings from debug-only code. r=cpearce

These reported as unused variable warnings in non-debug builds.
Bug 941296 - AAC platform decoder for OS X. r=edwin,cpearce

Implement an AAC decoder based on the AudioToolbox wrapper
in AppleMP3Decoder.
Bug 941296 - Fix type conversion errors on 32-bit MacOS. r=cpearce

UInt32 is an unsigned long on i686 while uint32_t is an unsigned int.
The compiler can't covert from a pointer to one to the pointer to
the other, so just use the MacOS type.

There's no problem on 64-bit.
Bug 941296 - Enable FMP4 when APPLEMEDIA is enabled. r=cpearce,ted

This requires moving the MOZ_APPLEMEDIA define. I put it in
alphabetical order with the other platform decoder checks.

Also removes the --disable-apple-media configure switch.
We don't have proper testing for these options, so it's
better not to offer the choice.
Bug 1043695 - Wrap FrameRef in an nsAutoPtr. r=cpearce

Everything else auto-releases, might as well do this too.
Bug 1043695 - Log output frame metadata. r=cpearce

Also cleans up the input sample log so they're easier to compare.
Bug 1043695 - Try passing zero for DTS instead of PTS. r=cpearce

Suggestion from ajones to make it fail more obviously if the lack
of DTS values causes a problem. Doesn't seem to make a difference.
Bug 1043695 - Add a frame reorder queue. r=cpearce

This fixes the frame drops on test.mp4. For now it just
assumes a reorder depth of 3, but we need to plumb the
actual value through the demuxer.

Based on now-removed code from Edwin's FFmpegH264Decoder.
Bug 1043695 - Fix comment formatting. r=cpearce
Bug 941296 - Check for CoreMedia headers in configure. r=ted

We build against the CoreMedia framework headers which are
only available on 10.7 and later, although we run on 10.6.

Check that this framework is available an configure time and
print a relevant error message in case someone passes
--with-macos-sdk=/Developer/SDKs/MacOSX10.6.sdk.