[FFmpeg-devel] headers

Timothy Gu timothygu99 at gmail.com
Sun Sep 14 23:18:38 CEST 2014

On Sep 14, 2014 1:14 PM, "Marcus Johnson" <bumblebritches57 at gmail.com>
> None of the other message groups will respond so I'm posting here.
> I've included /usr/local/include/libavformat in my header search path, and
> xcode finds avformat.h fine, but it can't find avcodec.h
> also, your time.h header in libavutil is taking precedence over the system
> time.h header, and it's giving me errors and idk how to fix that either,
> I've tried making it search the system headers first by moving the ffmpeg
> header folders to the bottom of the list and it's not working.

You should never put libav* into your search path. do

#include <libavcodec/avcodec.h>


#include <libavutil/timer.h>


More information about the ffmpeg-devel mailing list