[FFmpeg-devel] [PATCH]Fixed av_fast_realloc calling error when compiled to the Dynamic library

杨超 owen6169496 at outlook.com
Fri Dec 5 11:05:30 CET 2014

source base: ffmpeg-2.2.10env:androidso/a: so
When calling the av_fast_realloc or av_fast_malloc. There will be a error ( the processing will feign death ).
Fixed patch:
---a/libavcodec/utils.c+++b/libavcodec/utils.c@@ -127,1 +127,1 @@-#if FF_API_FAST_MALLOC && CONFIG_SHARED && HAVE_SYMVER+#if FF_API_FAST_MALLOC && (!CONFIG_SHARED) && HAVE_SYMVER

But this bug is fixed in the ffmpeg-2.5.This fixed patch should be used for who are working on the pre version "ffmpeg-2.2.10". 		 	   		  

More information about the ffmpeg-devel mailing list