• Diego Pettenò's avatar
    Invert logic for the single-pass in swScale() functions. · 6683a37f
    Diego Pettenò authored
    Instead of having a firstTime variable defaulting to 1, have a
    warnedAlready defaulting to 0. While this should make no difference in
    code speed at runtime, it allows to aggregate the four bytes of that
    variable with clip_table in .bss section, rather than issuing a .data
    section just for that.
    
    As it is, libswscale require no .data section but .data.rel.ro (that
    can be mitigated by prelinking), so the change might actually save one
    page of memory at runtime (per process).
    
    Originally committed as revision 27734 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
    6683a37f
Name
Last commit
Last update
doc Loading commit data...
ffpresets Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswscale Loading commit data...
tests Loading commit data...
tools Loading commit data...
vhook Loading commit data...
COPYING.GPL Loading commit data...
COPYING.LGPL Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffplay.c Loading commit data...
ffserver.c Loading commit data...
ffserver.h Loading commit data...
output_example.c Loading commit data...
subdir.mak Loading commit data...
version.sh Loading commit data...