]> granicus.if.org Git - libvpx/blobdiff - y4minput.h
Move shared test variables to tools_common.sh.
[libvpx] / y4minput.h
index 615debe61382d19b337e330bd478a852aa0dbbae..d53eb651b9419998b251bc81efeb21a5ae26e1bf 100644 (file)
 # include <stdio.h>
 # include "vpx/vpx_image.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 
 
 typedef struct y4m_input y4m_input;
@@ -62,4 +66,8 @@ int y4m_input_open(y4m_input *_y4m, FILE *_fin, char *_skip, int _nskip,
 void y4m_input_close(y4m_input *_y4m);
 int y4m_input_fetch_frame(y4m_input *_y4m, FILE *_fin, vpx_image_t *img);
 
+#ifdef __cplusplus
+}  // extern "C"
+#endif
+
 #endif  // Y4MINPUT_H_