- 错误类似:
src/codecs/h263/tdav_codec_h263.c: In function ‘tdav_codec_h263_ctor’:
src/codecs/h263/tdav_codec_h263.c:540:75: error: type of formal parameter 3 is incomplete
tdav_codec_h263_init(TDAV_CODEC_H263(self), tdav_codec_h263_1996, CODEC_ID_H263, CODEC_ID_H263);
src/codecs/h263/tdav_codec_h263.c:181:93: error: parameter 3 (‘encoder’) has incomplete type
(tdav_codec_h263_t* self, tdav_codec_h263_type_t type, enum CodecID encoder, enum CodecID decoder)
- 普通项目:
avcodec_alloc_frame av_frame_alloc
avcodec_get_frame_defaults av_frame_unref
avcodec_free_frame av_frame_free
avcodec_encode_video avcodec_encode_video2
avcodec_open avcodec_open2
avcodec_alloc_context avcodec_alloc_context3
avcodec_get_context_defaults avcodec_get_context_defaults3
avcodec_get_frame_defaults av_frame_unref
CODEC_ID_H263 AV_CODEC_ID_H263
CodecID AVCodecID
PixelFormat AVPixelFormat
PIX_FMT_RGB24 AV_PIX_FMT_RGB24(一大批类似的)
FF_INPUT_BUFFER_PADDING_SIZE AV_INPUT_BUFFER_PADDING_SIZE
AVFilterBufferRef AVBufferRef
av_buffersink_get_buffer_ref av_frame_copy_props
avfilter_copy_buf_props av_frame_copy_props
- 特有项目:
libavfilter/motion_estimation.h
self->encoder.context->me_method = ME_UMH
改为
self->encoder.context->prediction_method = AV_ME_METHOD_UMH;