Changeset 573f05a7 in ffmpeg

Timestamp:
Mar 10, 2021, 7:01:03 PM (4 years ago)
Author:
Marton Balint <cus@passwd.hu>
Branches:
master
Children:
2ae73b74
Parents:
a7425f71
git-author:
Marton Balint <cus@passwd.hu> (03/03/21 22:23:10)
git-committer:
Marton Balint <cus@passwd.hu> (03/10/21 19:01:03)
Message:

fftools/ffplay: do not write out of rdft visualization texture

If the window is resized it was possible that xpos pointed outside the
visualization texture. By rearranging the overflow check we make sure this (and
a crash) does not happen.

We also don't have to use xleft for start position, as that is 0 anyways, and
if we ever want to take into account xleft then the texture should be
positioned accordingly when rendering.

Signed-off-by: Marton Balint <cus@passwd.hu>

(No files)

Note: See TracChangeset for help on using the changeset viewer.