error: 'ff_get_buffer' was not declared in this scope

问题:

/home/ffmpeg4android-code/ffmpeg-1.1.2/libavcodec/libstagefright.cpp: In function 'void* decode_thread(void*)':

/home/ffmpeg4android-code/ffmpeg-1.1.2/libavcodec/libstagefright.cpp:188: error: 'ff_get_buffer' was not declared in this scope
/home/ffmpeg4android-code/ffmpeg-1.1.2/libavcodec/libstagefright.cpp:200: warning: comparison between signed and unsigned integer expressions
make: *** [libavcodec/libstagefright.o] Error 1


解决:

修改libavcodec/libstagefright.cpp中的ff_get_buffer给为avctx->get_buffer就可以编译通过


你可能感兴趣的:(error: 'ff_get_buffer' was not declared in this scope)