aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/8svx.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-12 23:15:46 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-20 18:58:38 +0200
commitd163eefd4756111d188c40b3ee4b6cd91e8b9d64 (patch)
treef8853253d36018ff6edf0e5aea710aa5a220d7cc /libavcodec/8svx.c
parentb1a31b32abc19df329cf61fa23febd8252978fd3 (diff)
downloadffmpeg-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/8svx.c')
0 files changed, 0 insertions, 0 deletions