]> git.sesse.net Git - ffmpeg/commit
avcodec/gifdec: Add av_log() to workaround gcc 4.2 miscompiling the code
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 25 Mar 2013 12:32:45 +0000 (13:32 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 25 Mar 2013 12:32:45 +0000 (13:32 +0100)
commitafdfff485b6527fe439351ce40fa7d3f97661dc4
tree71c0ce8f07eb7371de653704be3b5f03dae69e92
parentad438f450b83882a1277a79c1c3d6dfe55573b1c
avcodec/gifdec: Add av_log() to workaround gcc 4.2 miscompiling the code

It appears gcc forgets to increment the byte stream pointer at -O3
I was not able to spot a reason/excuse for it to do that. It
also disappears if the function isnt inlined.

This should fix the gif fate failures on open & free bsd

See: [FFmpeg-devel] [PATCH] gifdec: workaround old gcc 4.2 mis-compiling code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/gifdec.c