From 4cd89e8deaca7512202b86664677fd9568007df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?llu=C3=ADs=20g=C3=B3mez=20i=20bigord=C3=A0?= Date: Mon, 26 May 2008 00:42:38 +0000 Subject: solved an unresolved symbol libavcodec svn path=/trunk/externals/pdvjtools/; revision=9919 --- videogrid/videogrid.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'videogrid') diff --git a/videogrid/videogrid.cc b/videogrid/videogrid.cc index 37203e4..770b7e2 100644 --- a/videogrid/videogrid.cc +++ b/videogrid/videogrid.cc @@ -1,4 +1,6 @@ +extern "C" +{ /* videogrid external for Puredatai Lluis Gomez i Bigorda :: lluis-at-hangar.org @@ -36,6 +38,7 @@ along with this program. If not, see . /*ffmpeg includes*/ #include #include +#include /*libquicktime includes*/ //#include @@ -71,9 +74,7 @@ typedef char pathimage[BYTESNOMFITXERIMATGE]; typedef char tipus_format[BYTESTIPUSFROMAT]; -#ifdef __cplusplus -extern "C" int convertir_img_ff(pathimage pathFitxer, tipus_format f, int W, int H, int posi); -#endif +int convertir_img_ff(pathimage pathFitxer, tipus_format f, int W, int H, int posi); void SaveFrame(AVFrame *pFrame, int width, int height, int W, int H, int posi) { @@ -1507,8 +1508,6 @@ static void videogrid_destroy(t_videogrid *x){ /* al carregar la nova llibreria my_lib pd intenta cridar la funció my_lib_setup */ /* aquesta crea la nova classe i les seves propietats només un sol cop */ -extern "C" -{ void videogrid_setup(void) { load_tk_procs(); -- cgit v1.2.1