我在ubuntu下编译ffmpeg出现错误/home/ScottWong/ffmpeg/jni/libavcodec/utils.c:1086: error: 'O_BINARY' undeclared (first use in this function)
/home/ScottWong/ffmpeg/jni/libavcodec/utils.c:1086: error: (Each undeclared identifier is reported only once
/home/ScottWong/ffmpeg/jni/libavcodec/utils.c:1086: error: for each function it appears in.)
/home/ScottWong/ffmpeg/jni/libavcodec/utils.c: In function 'av_parse_video_frame_size':
/home/ScottWong/ffmpeg/jni/libavcodec/utils.c:1179: warning: assignment discards qualifiers from pointer target type
make: *** [/home/ScottWong/ffmpeg/obj/local/armeabi/objs/ffmpeg/libavcodec/utils.o] 错误 1