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

Michael Niedermayer michaelni at gmx.at
Sat Dec 6 16:08:44 CET 2014

On Fri, Dec 05, 2014 at 06:05:30PM +0800, 杨超 wrote:
> Hello,All:
> 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

the patch lost the \n

what error message(s) do you get when it fails ?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141206/f060b559/attachment.asc>

More information about the ffmpeg-devel mailing list