[FFmpeg-trac] #3924(avcodec:new): libavcodec - option name "ac" is duplicated
FFmpeg
trac at avcodec.org
Thu Sep 4 15:06:17 CEST 2014
#3924: libavcodec - option name "ac" is duplicated
---------------------------------+--------------------------------------
Reporter: cnt | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: git-master
Keywords: ac | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 1 |
---------------------------------+--------------------------------------
What I do:
I am trying to list AVOptions of libavcodec in a GUI interface.
I need to have a unique key for each AVOption. I thought it was possible
with the name of the option...
My problem:
There are two options with the same name "ac". This option could be the
number of audio channels, or the arithmetic coder.
Content of libavcodec/options_tables.h:
{{{
...
{"ac", "set number of audio channels", OFFSET(channels), AV_OPT_TYPE_INT,
{.i64 = DEFAULT }, INT_MIN, INT_MAX, A|D|E},
...
{"ac", "arithmetic coder", 0, AV_OPT_TYPE_CONST, {.i64 = FF_CODER_TYPE_AC
}, INT_MIN, INT_MAX, V|E, "coder"},
...
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3924>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list