Lines Matching refs:ret
171 ret = AVERROR_INVALIDDATA; \
199 int i, j, count, ret;
237 ret = AVERROR_INVALIDDATA;
250 ret = AVERROR_INVALIDDATA;
280 ret = AVERROR_INVALIDDATA;
288 ret = AVERROR_INVALIDDATA;
294 ret = AVERROR_INVALIDDATA;
299 ret = AVERROR_INVALIDDATA;
331 ret = AVERROR_INVALIDDATA;
337 ret = AVERROR(ENOMEM);
353 ret = AVERROR_INVALIDDATA;
359 ret = AVERROR(ENOMEM);
364 ret = AVERROR(ENOMEM);
376 return ret;
384 int class, stream_id, ret;
447 ret = ff_get_extradata(s, st->codecpar, bc,
449 if (ret < 0)
450 return ret;
461 ret = AVERROR_INVALIDDATA;
473 ret = AVERROR_INVALIDDATA;
485 return ret;
509 int i, ret = 0;
551 ret = get_str(bc, name, sizeof(name));
552 if (ret < 0) {
554 return ret;
561 ret = get_str(bc, str_value, sizeof(str_value));
563 ret = get_str(bc, type_str, sizeof(type_str));
564 if (ret < 0) {
566 return ret;
569 ret = get_str(bc, str_value, sizeof(str_value));
583 if (ret < 0) {
585 return ret;
623 return FFMIN(ret, 0);
632 int ret;
663 if ((ret = ff_nut_add_sp(nut, nut->last_syncpoint_pos, *back_ptr, *ts)) < 0)
664 return ret;
692 int ret = AVERROR_INVALIDDATA;
704 return ret;
720 ret = AVERROR(ENOMEM);
788 ret = 0;
793 return ret;
815 int initialized_stream_count, ret;
821 ret = 0;
823 if (ret == AVERROR(ENOMEM))
824 return ret;
831 } while ((ret = decode_main_header(nut)) < 0);
888 int i, ret;
895 ret = get_str(bc, name, sizeof(name));
896 if (ret < 0) {
898 return ret;
903 ret = get_str(bc, str_value, sizeof(str_value));
904 if (ret < 0) {
906 return ret;
913 ret = get_str(bc, type_str, sizeof(type_str));
914 if (ret < 0) {
916 return ret;
1011 int size, flags, size_mul, pts_delta, i, reserved_count, ret;
1085 return ret;
1092 int size, stream_id, discard, ret;
1117 ret = av_new_packet(pkt, size + nut->header_len[header_idx]);
1118 if (ret < 0)
1119 return ret;
1126 ret = AVERROR_INVALIDDATA;
1130 ret = AVERROR_INVALIDDATA;
1138 ret = avio_read(bc, pkt->data + nut->header_len[header_idx], size);
1139 if (ret != size) {
1140 if (ret < 0)
1143 av_shrink_packet(pkt, nut->header_len[header_idx] + ret);
1153 return ret;
1160 int i, frame_code = 0, ret, skip;
1196 ret = decode_frame(nut, pkt, frame_code);
1197 if (ret == 0)
1199 else if (ret == 1) // OK but discard packet