summaryrefslogtreecommitdiff
path: root/src/img_encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/img_encoder.h')
-rw-r--r--src/img_encoder.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/img_encoder.h b/src/img_encoder.h
index 7237f48..e60e33b 100644
--- a/src/img_encoder.h
+++ b/src/img_encoder.h
@@ -40,10 +40,6 @@
#include "frame.h"
#include "util.h"
-extern "C" {
-#include <jpeglib.h>
-}
-
//#include <stdlib.h>
//#include <string.h>
@@ -59,7 +55,7 @@ public:
~ImgEncoder();
void encode(Frame *frame, int quality);
void writeJPEGFile(int quality,
- JSAMPLE * image_buffer, // Points to large array of R,G,B-order data
+ unsigned char *image_buffer, // Points to large array of R,G,B-order data
int image_width, // Number of columns in image
int image_height); // Number of rows in image