[FFmpeg-devel] [PATCH] lavu: define FF_MEMORY_POISON and use it
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun May 12 14:13:22 CEST 2013
Completely unrelated, but:
On Sun, May 12, 2013 at 01:39:40PM +0200, Stefano Sabatini wrote:
> if(CONFIG_MEMORY_POISONING)
> - memset(buf->data, 0x2a, pool->size);
> + memset(buf->data, FF_MEMORY_POISON, pool->size);
>
> #if CONFIG_MEMORY_POISONING
> if (ptr)
> - memset(ptr, 0x2a, size);
> + memset(ptr, FF_MEMORY_POISON, size);
This seems a bit inconsistent, using if() vs. #if
More information about the ffmpeg-devel
mailing list