[FFmpeg-devel] [PATCH 1/2] avutil/opt: Add AV_OPT_TYPE_UINT16
Hendrik Leppkes
h.leppkes at gmail.com
Fri Mar 22 17:09:32 EET 2019
On Fri, Mar 22, 2019 at 4:01 PM <velocityra at gmail.com> wrote:
>
> From: Nick Renieris <velocityra at gmail.com>
>
> Signed-off-by: Nick Renieris <velocityra at gmail.com>
> ---
> libavutil/opt.c | 29 +++++++++++++++++++++++++++--
> libavutil/opt.h | 1 +
> 2 files changed, 28 insertions(+), 2 deletions(-)
>
We really don't need this type. You can just change the type of your
variable to int and set size limits on the option.
- Hendrik
More information about the ffmpeg-devel
mailing list