Revision f16dd7e6 libavcodec/opt.c

View differences:

libavcodec/opt.c
207 207
}
208 208

  
209 209
const AVOption *av_set_string(void *obj, const char *name, const char *val){
210
    return av_set_string2(obj, name, val, 0);
210
    const AVOption *o;
211
    if (av_set_string3(obj, name, val, 0, &o) < 0)
212
        return NULL;
213
    return o;
211 214
}
212 215

  
213 216
const AVOption *av_set_double(void *obj, const char *name, double n){

Also available in: Unified diff