liuliu / ccv

C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library
http://libccv.org
Other
7.08k stars 1.71k forks source link

PIX_FMT_RGB24 -> AV_PIX_FMT_RGB24 #199

Open ghost opened 7 years ago

ghost commented 7 years ago

There has been an update in libavutil renaming some constants.

http://stackoverflow.com/questions/38847745/cannot-resolve-variable-pix-fmt-rgb24-ffmpeg-source-code-install-with-the-newes

Can be found looking in /usr/include/libavutil/pixfmt.h

ghost commented 7 years ago

Also avcodec_alloc_frame needs to be updated to av_frame_alloc. The compiler understands that as of lavc 55.28.1 but we do seem to have a linking issue at least on arch with it.

http://stackoverflow.com/questions/24057248/ffmpeg-undefined-references-to-av-frame-alloc