Anton Khirnov e30302c636 fftools/ffmpeg: avoid possible invalid reads with short -tag values
Fixes #10319 and #10309.

Based on 89c9a3ac3542c3684e511607d88b265bfa6aa64f.

(cherry picked from commit 1e413487bf8ff413796d1cf1d9adafcd36f04444)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2023-04-17 12:22:18 +02:00
..
2021-11-28 16:40:43 -06:00