diff options
author | lluís gómez i bigordà <lluisbigorda@users.sourceforge.net> | 2008-05-26 00:42:38 +0000 |
---|---|---|
committer | lluís gómez i bigordà <lluisbigorda@users.sourceforge.net> | 2008-05-26 00:42:38 +0000 |
commit | 4cd89e8deaca7512202b86664677fd9568007df7 (patch) | |
tree | 7efce50127a153a015412b17edfe9c9b2752e1bc | |
parent | 901f19c0ae82c9473737fffa5bf1c8b24bcb9e60 (diff) |
solved an unresolved symbol libavcodec
svn path=/trunk/externals/pdvjtools/; revision=9919
-rw-r--r-- | videogrid/videogrid.cc | 9 |
1 files changed, 4 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>. /*ffmpeg includes*/ #include <ffmpeg/avcodec.h> #include <ffmpeg/avformat.h> +#include <ffmpeg/avutil.h> /*libquicktime includes*/ //#include <quicktime/lqt.h> @@ -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(); |