Lines Matching refs:ret
235 ret = add_entry(s, tag, type, count, ptr_val); \
236 if (ret < 0) \
242 ret = add_entry1(s, tag, type, val); \
243 if (ret < 0) \
260 int ret = 0;
339 if ((ret = ff_alloc_packet(avctx, pkt, packet_size)) < 0)
340 return ret;
347 ret = AVERROR(EINVAL);
359 ret = AVERROR(ENOMEM);
366 ret = AVERROR(ENOMEM);
374 ret = AVERROR(ENOMEM);
388 ret = AVERROR(ENOMEM);
403 ret = encode_strip(s, zbuf, ptr, zn, s->compr);
405 if (ret < 0) {
409 ptr += ret;
417 ret = AVERROR(ENOMEM);
432 ret = encode_strip(s, s->yuv_line, ptr, bytes_per_row, s->compr);
435 ret = encode_strip(s, p->data[0] + i * p->linesize[0],
437 if (ret < 0) {
441 s->strip_sizes[i / s->rps] += ret;
442 ptr += ret;
445 ret = ff_lzw_encode_flush(s->lzws);
446 s->strip_sizes[(i / s->rps)] += ret;
447 ptr += ret;
511 ret = AVERROR(EINVAL);
522 return ret < 0 ? ret : 0;