[FFmpeg-devel] [PATCH] avformat/http: remove duplicate user-agent option
Steven Liu
lingjiujianke at gmail.com
Thu Sep 15 17:22:31 EEST 2016
2016-09-15 22:21 GMT+08:00 Clément Bœsch <u at pkh.me>:
> On Thu, Sep 15, 2016 at 10:04:48PM +0800, Steven Liu wrote:
> > double user-agent option, same option, remove one.
> >
> > Signed-off-by: Steven Liu <lingjiujianke at gmail.com>
> > ---
> > libavformat/http.c | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/libavformat/http.c b/libavformat/http.c
> > index adb3d92..f2bfb17 100644
> > --- a/libavformat/http.c
> > +++ b/libavformat/http.c
> > @@ -131,7 +131,6 @@ static const AVOption options[] = {
> > { "headers", "set custom HTTP headers, can override built in default
> > headers", OFFSET(headers), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, D
> | E
> > },
> > { "content_type", "set a specific content type for the POST
> messages",
> > OFFSET(content_type), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, D | E },
> > { "user_agent", "override User-Agent header", OFFSET(user_agent),
> > AV_OPT_TYPE_STRING, { .str = DEFAULT_USER_AGENT }, 0, 0, D },
> > - { "user-agent", "override User-Agent header", OFFSET(user_agent),
>
> one has '_', the other '-'
>
> --
> Clément B.
>
all right, i ignore the '_' . ignore this patch please.
More information about the ffmpeg-devel
mailing list