Lines Matching refs:ret
86 static void (*program_exit)(int ret);
88 void register_exit(void (*cb)(int ret))
93 void exit_program(int ret)
96 program_exit(ret);
98 exit(ret);
292 int ret = po->u.func_arg(optctx, opt, arg);
293 if (ret < 0) {
296 arg, opt, av_err2str(ret));
297 return ret;
316 int ret;
338 ret = write_option(optctx, po, opt, arg);
339 if (ret < 0)
340 return ret;
349 int optindex, handleoptions = 1, ret;
366 if ((ret = parse_option(optctx, opt, argv[optindex], options)) < 0)
368 optindex += ret;
378 int i, ret;
399 ret = write_option(optctx, o->opt, o->key, o->val);
400 if (ret < 0)
401 return ret;
703 int ret;
729 if ((ret = match_group_separator(groups, nb_groups, opt)) >= 0) {
731 finish_group(octx, ret, arg);
733 groups[ret].name, arg);
757 ret = opt_default(NULL, opt, argv[optindex]);
758 if (ret >= 0) {
763 } else if (ret != AVERROR_OPTION_NOT_FOUND) {
766 return ret;
888 int ret = avformat_match_stream_specifier(s, st, spec);
889 if (ret < 0)
891 return ret;
897 AVDictionary *ret = NULL;
940 av_dict_set(&ret, t->key, t->value, 0);
944 av_dict_set(&ret, t->key + 1, t->value, 0);
949 return ret;