diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2008-10-09 11:10:30 +0000 |
---|---|---|
committer | Diego Pettenò <flameeyes@gmail.com> | 2008-10-09 11:10:30 +0000 |
commit | 6683a37f8988e80ea1c99c663a337647ffa3f307 (patch) | |
tree | a72a57a45004e45c6c0820b3c9dbf58d1e7356b1 /doc/TODO | |
parent | f5a2c9816e0b58edf2a87297be8d648631fc3432 (diff) | |
download | ffmpeg-6683a37f8988e80ea1c99c663a337647ffa3f307.tar.gz |
Invert logic for the single-pass in swScale() functions.
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
Diffstat (limited to 'doc/TODO')
0 files changed, 0 insertions, 0 deletions