Added a mutext around ffmpeg open/close calls and reformatted the code a bit

This commit is contained in:
Damiano Galassi committed 2015-08-25 17:23:40 +02:00
1 parent bf32ee8003
commit 68e2ec30a4
4 files changed
+178 -132

No files matched your search

+1 -2
View File
@@ -20,7 +20,7 @@
NSThread *decoderThread;
NSThread *encoderThread;
MP42OCRWrapper *ocr;
MP42OCRWrapper *_ocr;
CIContext *_imgContext;
AVCodec *avCodec;
AVCodecContext *avContext;
@@ -29,7 +29,6 @@
MP42Fifo *_inputSamplesBuffer;
MP42Fifo *_outputSamplesBuffer;
int compressed;
UInt32 paletteG[16];
NSData *srcMagicCookie;