Lines Matching defs:ret
162 int seq, mb_pos, i, ret;
251 ret = ff_set_dimensions(s->avctx, new_w, new_h);
252 if (ret < 0)
253 return ret;
257 if ((ret = ff_mpv_common_init(s)) < 0)
258 return ret;
372 int major_ver, minor_ver, micro_ver, ret;
378 if ((ret = av_image_check_size(avctx->coded_width,
380 return ret;
424 if ((ret = ff_mpv_common_init(s)) < 0)
425 return ret;
448 int mb_count, mb_pos, left, start_mb_x, active_bits_size, ret;
484 if ((ret = ff_mpv_frame_start(s, avctx)) < 0)
485 return ret;
533 int ret;
539 ret = ff_h263_decode_mb(s, s->block);
543 if (ret != SLICE_ERROR && active_bits_size >= get_bits_count(&s->gb)) {
550 ret = SLICE_END;
552 if (ret != SLICE_ERROR && active_bits_size < get_bits_count(&s->gb) &&
557 ret = SLICE_OK;
560 if (ret == SLICE_ERROR || active_bits_size < get_bits_count(&s->gb)) {
578 if (ret == SLICE_END)
602 int i, ret;
650 if ((ret = rv10_decode_packet(avctx, buf + offset, size, size2, buf_size)) < 0)
651 return ret;
653 if (ret > 8 * size)
662 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0)
663 return ret;
667 if ((ret = av_frame_ref(pict, s->last_picture_ptr->f)) < 0)
668 return ret;