aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/evrcdata.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-04 17:32:52 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-07 10:23:00 +0100
commited56ca856c3bc6e99cf12d748b351e5ea35964da (patch)
treebc425dd72897fec16634fd9417b61c7010ac8e70 /libavcodec/evrcdata.h
parent8b83b52d0fa55c69cf1840075be4b942e4b12f12 (diff)
downloadffmpeg-ed56ca856c3bc6e99cf12d748b351e5ea35964da.tar.gz
avutil/opt: Fix AV_OPT_TYPE_CONST default value
It uses the int64_t instead of the double member. (This code can currently not be reached: av_opt_get() calls av_opt_find2() with NULL as unit in which case AV_OPT_TYPE_CONST options are never returned, leading av_opt_get() to always return AVERROR_OPTION_NOT_FOUND when searching for AV_OPT_TYPE_CONST*. For the same reason the code read_number() will never be called from get_number() when searching for an option of type AV_OPT_TYPE_CONST. The other callers of read_number() also only call it with types other than AV_OPT_TYPE_CONST.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/evrcdata.h')
0 files changed, 0 insertions, 0 deletions