summaryrefslogtreecommitdiff
path: root/src/img_encoder.h
diff options
context:
space:
mode:
authordeva <deva>2005-04-10 20:38:45 +0000
committerdeva <deva>2005-04-10 20:38:45 +0000
commitb03406e31c5e5d4f8a4e065b03e68330885a3832 (patch)
tree0d636129516814509df07afd918daef086be3133 /src/img_encoder.h
parent55a7afdedc7cee2df9012f600dd51aff92ad1af3 (diff)
lots of styff!
Diffstat (limited to 'src/img_encoder.h')
-rw-r--r--src/img_encoder.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/img_encoder.h b/src/img_encoder.h
index 25779ce..79f4184 100644
--- a/src/img_encoder.h
+++ b/src/img_encoder.h
@@ -23,16 +23,22 @@
#ifndef __RTVIDEOREC_IMGENCODER_H
#define __RTVIDEOREC_IMGENCODER_H
+#include "dvframe.h"
+#include "util.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <avformat.h>
extern "C" {
+#ifdef HAVE_STDLIB_H
+#undef HAVE_STDLIB_H
+#endif
#include <jpeglib.h>
+#ifdef HAVE_STDLIB_H
+#undef HAVE_STDLIB_H
+#endif
}
-#include <dvframe.h>
-
-#include "util.h"
#define VIDEO_BUFFER_SIZE (1024*1024) // FIXME: One size fits all...
@@ -60,5 +66,5 @@ class ImgEncoder {
// AVPacket pkt;
};
-#endif
+#endif /*__RTVIDEOREC_IMGENCODER_H*/