Revision f16dd7e6 ffserver.c

View differences:

ffserver.c
3735 3735
static int ffserver_opt_default(const char *opt, const char *arg,
3736 3736
                       AVCodecContext *avctx, int type)
3737 3737
{
3738
    const AVOption *o  = NULL;
3738
    int ret = 0;
3739 3739
    const AVOption *o2 = av_find_opt(avctx, opt, NULL, type, type);
3740 3740
    if(o2)
3741
        o = av_set_string2(avctx, opt, arg, 1);
3742
    if(!o)
3743
        return -1;
3744
    return 0;
3741
        ret = av_set_string3(avctx, opt, arg, 1, NULL);
3742
    return ret;
3745 3743
}
3746 3744

  
3747 3745
static int parse_ffconfig(const char *filename)

Also available in: Unified diff