Change #265671
| Category | ffmpeg |
| Changed by | Jun Zhao <barryjzhao@tencent.com> |
| Changed at | Tue 28 Apr 2026 08:14:38 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 3cdd76ba96ab331c30d442769f49c2331a7780f8 |
Comments
avcodec/libsvtav1: reject tiny inputs on SVT-AV1 < 3.0.0 SVT-AV1 < 3.0.0 requires input dimensions of at least 64x64. Older versions may otherwise silently accept smaller inputs without producing output and cause the caller to hang. Reject such inputs explicitly in config_enc_params() to produce a clear error. v3.0.0+ supports sub-64px dimensions and validates the input itself, so the check is gated with SVT_AV1_CHECK_VERSION. Fix #22817 Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Changed files
- libavcodec/libsvtav1.c