X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmmpeg2%2Fsrc%2Fmpeg2dec%2Fmpeg2dec.h;h=e80686780ae4b5a1576f2d0fe427af9edbf273b9;hb=3c6a904a83c26b203d7f2d2fb35f4edc30ef140c;hp=059b86104a5b640cdf8e47e27122edb8f7719c25;hpb=ccc606678fca0bc69bcc76384459682ccef01f17;p=gdcm.git diff --git a/src/gdcmmpeg2/src/mpeg2dec/mpeg2dec.h b/src/gdcmmpeg2/src/mpeg2dec/mpeg2dec.h index 059b8610..e8068678 100644 --- a/src/gdcmmpeg2/src/mpeg2dec/mpeg2dec.h +++ b/src/gdcmmpeg2/src/mpeg2dec/mpeg2dec.h @@ -127,3 +127,19 @@ #define MB_WEIGHT 32 #define MB_CLASS4 64 +#include +typedef struct +{ + FILE* Fd; +} ostream; + +int my_open(char *filename); +int my_printf(const char *format, ...); +int my_fprintf(const char *format, ...); +int my_sprintf(char *str, const char *format, ...); +void my_exit(int status); +ostream *my_fopen(const char *path, const char *mode); +int my_fseek(ostream *stream, long offset, int whence); +size_t my_fread(void *ptr, size_t size, size_t nmemb, ostream *stream); +int my_fclose(ostream *fp); +