From 0d89cf2e6f8b1bceda26d38b9da068f69240d9b0 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Mon, 7 Oct 2013 11:19:02 -0700 Subject: [PATCH] Quick fix in case something throws 8 bit samples at us --- Plugins/FFMPEG/FFMPEGDecoder.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Plugins/FFMPEG/FFMPEGDecoder.m b/Plugins/FFMPEG/FFMPEGDecoder.m index bdc87bf53..fd84eb86e 100644 --- a/Plugins/FFMPEG/FFMPEGDecoder.m +++ b/Plugins/FFMPEG/FFMPEGDecoder.m @@ -281,6 +281,7 @@ int lockmgr_callback(void ** mutex, enum AVLockOp op) return [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt:channels], @"channels", [NSNumber numberWithInt:bitsPerSample], @"bitsPerSample", + [NSNumber numberWithBool:(bitsPerSample == 8)], @"unsigned", [NSNumber numberWithFloat:frequency], @"sampleRate", [NSNumber numberWithBool:floatingPoint], @"floatingPoint", [NSNumber numberWithDouble:totalFrames], @"totalFrames",