Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: allow for some code path optimizations.

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 02:03:08PM +0100, Benoit Fouet wrote: > Use 'if (CONFIG_APNG_DECODER)' where needed, so that the compiler can > optimize out some portion of code. > --- > libavcodec/pngdec.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) applied thx [...] -- Michael

[FFmpeg-devel] [PATCH] avcodec/pngdec: allow for some code path optimizations.

2014-11-28 Thread Benoit Fouet
Use 'if (CONFIG_APNG_DECODER)' where needed, so that the compiler can optimize out some portion of code. --- libavcodec/pngdec.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index da852c4..a330d36 100644 --- a/libavcodec/pngd