[FFmpeg-devel] [PATCH] libavcodec/libopenjpeg.c fail to build after imgutils.h move..

Johan Andersson j
Sat Aug 7 01:59:16 CEST 2010


Hello.

Fixing the build issue with libavcodec/libopenjpeg.c. it cant find imgutils.h after the move to libavcore.

CC      libavcodec/libopenjpeg.o
libavcodec/libopenjpeg.c: In function ?libopenjpeg_decode_frame?:
libavcodec/libopenjpeg.c:99: warning: passing argument 2 of ?opj_cio_open? discards qualifiers from pointer target type
/usr/include/openjpeg.h:770: note: expected ?unsigned char *? but argument is of type ?const uint8_t *?
libavcodec/libopenjpeg.c:116: error: implicit declaration of function ?av_check_image_size?
make: *** [libavcodec/libopenjpeg.o] Error 1

-- 
Johan Andersson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libopenjpeg.patch
Type: text/x-diff
Size: 317 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100807/2d3bfbc7/attachment.patch>



More information about the ffmpeg-devel mailing list