diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-12 23:15:46 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-20 18:58:38 +0200 |
commit | d163eefd4756111d188c40b3ee4b6cd91e8b9d64 (patch) | |
tree | f8853253d36018ff6edf0e5aea710aa5a220d7cc /libavcodec/flicvideo.c | |
parent | b1a31b32abc19df329cf61fa23febd8252978fd3 (diff) | |
download | ffmpeg-d163eefd4756111d188c40b3ee4b6cd91e8b9d64.tar.gz |
avcodec/me_cmp, motion_est: Sanitize permissible cmp_funcs
Several of the potential choices of comparison functions
need an initialized MpegEncContext (initialized for encoding,
not only ff_mpv_common_init()) or they crash when called.
Modify ff_set_cmp() to check for this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/flicvideo.c')
0 files changed, 0 insertions, 0 deletions