bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.54k stars 8.13k forks source link

ff_ffplay.c中的头文件问题 #2356

Open Yangshiming opened 7 years ago

Yangshiming commented 7 years ago

ff_ffplay.c我引用了libavformat/http.h,就编译不通过,说找不到http.h ff_ffplay.c中引用的头文件如下就没有问题,但我在ff_ffplay.c目录下并找不到libavutil和libavformat文件夹,

include "libavutil/avassert.h"

include "libavutil/time.h"

include "libavformat/avformat.h"

这是怎么原理?修改哪里可以引用libavformat/http.h成功?谢谢!

xinzhengzhang commented 7 years ago

See README.

bbcallen commented 7 years ago

libavformat/http.h is not supposed to be public header file of ffmpeg.. You need to modify Makefile of ffmpeg.

Yangshiming commented 7 years ago

Modify ffmpeg makefile work ! thank you !