diff options
Diffstat (limited to 'src/img_encoder.h')
-rw-r--r-- | src/img_encoder.h | 14 |
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*/ |