ffmpeg/fftools
Marton Balint 4bbcaf7559 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>
(cherry picked from commit 573f05a753)
2021-03-28 01:14:33 +01:00
..
Makefile ffmpeg: remove superfluous custom cuvid hwaccel 2020-03-03 18:11:28 -03:00
cmdutils.c fftools/ffmpeg: update text requesting samples 2020-06-01 14:39:52 -04:00
cmdutils.h
ffmpeg.c fftools/ffmpeg: Fix leak of AVFilterInOut in case of error 2021-02-27 07:20:56 +01:00
ffmpeg.h fftools/ffmpeg: add new abort_on flag which aborts if there is a stream which received no packets 2020-05-26 21:50:50 +02:00
ffmpeg_filter.c fftools/ffmpeg_filter: check the codec's descriptor to see if it's lossless 2020-05-21 12:32:15 -03:00
ffmpeg_hw.c ffmpeg: Don't require a known device to pass a frames context to an encoder 2020-05-03 16:04:27 +01:00
ffmpeg_opt.c fftools/ffmpeg: add new abort_on flag which aborts if there is a stream which received no packets 2020-05-26 21:50:50 +02:00
ffmpeg_qsv.c ffmpeg: Remove the hw_device_ctx global 2020-04-26 18:38:25 +01:00
ffmpeg_videotoolbox.c Stop hardcoding align=32 in av_frame_get_buffer() calls. 2020-05-22 14:38:57 +02:00
ffplay.c fftools/ffplay: do not write out of rdft visualization texture 2021-03-28 01:14:33 +01:00
ffprobe.c fftools/ffprobe: show closed caption info in the stream dump 2020-05-02 19:14:08 +02:00