Change #273721
| Category | ffmpeg |
| Changed by | marcos ashton <marcosashiglesias@gmail.com> |
| Changed at | Thu 02 Jul 2026 15:48:58 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 784ab1558941fa2d0e4774abb9c0ac4a0135f74c |
Comments
tests/fate/libavutil: add FATE test for video_hint Test av_video_hint_alloc with 0, 1, and 4 rects, and av_video_hint_create_side_data. Verifies that av_video_hint_rects and av_video_hint_get_rect return pointers consistent with rect_offset and rect_size, write/read-back of rect coordinates, both hint type values, and OOM paths via av_max_alloc. Coverage for libavutil/video_hint.c: 0.00% -> 82.05% The remaining uncovered lines are the nb_rects overflow guard and the av_buffer_create / av_frame_new_side_data_from_buf failure cleanup paths, which av_max_alloc() cannot reach since it forces the first allocation to fail.
Changed files
- .forgejo/CODEOWNERS
- libavutil/Makefile
- libavutil/tests/.gitignore
- libavutil/tests/video_hint.c
- tests/fate/libavutil.mak
- tests/ref/fate/video_hint