ffmpeg/fftools
Marton Balint 573f05a753 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>
2021-03-10 20:01:03 +01:00
..
cmdutils.c fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
cmdutils.h fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
ffmpeg_filter.c fftools/ffmpeg_filter: Don't use deprecated function 2021-02-26 18:28:26 +01:00
ffmpeg_hw.c
ffmpeg_opt.c fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
ffmpeg_qsv.c
ffmpeg_videotoolbox.c
ffmpeg.c fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
ffmpeg.h fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
ffplay.c fftools/ffplay: do not write out of rdft visualization texture 2021-03-10 20:01:03 +01:00
ffprobe.c ffprobe: switch to av_bprint_escape for XML escaping 2021-03-05 19:45:00 +02:00
Makefile