Lines Matching defs:ret
153 int ret = AVERROR_ENCODER_NOT_FOUND;
160 ret = omx_try_load(omx_context, logctx, libname, prefix, NULL);
161 if (ret < 0) {
167 if (!(ret = omx_try_load(omx_context, logctx, nameptr[0], prefix, nameptr[1])))
350 int ret = 0;
369 ret = AVERROR(ENOMEM);
379 return ret;
384 int ret = 0;
389 ret = AVERROR_ENCODER_NOT_FOUND;
391 return ret;
645 int ret = AVERROR_ENCODER_NOT_FOUND;
651 ret = ff_pthread_init(s, omx_codec_context_offsets);
652 if (ret < 0)
653 return ret;
673 if ((ret = find_component(s->omx_context, avctx, role, s->component_name, sizeof(s->component_name))) < 0)
678 if ((ret = omx_component_init(avctx, role)) < 0)
686 if ((ret = av_reallocp(&avctx->extradata, avctx->extradata_size + buffer->nFilledLen + AV_INPUT_BUFFER_PADDING_SIZE)) < 0) {
699 ret = AVERROR_UNKNOWN;
727 return ret;
735 int ret = 0;
844 while (!*got_packet && ret == 0 && !s->got_eos) {
858 if ((ret = av_reallocp(&avctx->extradata, avctx->extradata_size + buffer->nFilledLen + AV_INPUT_BUFFER_PADDING_SIZE)) < 0) {
867 if ((ret = av_reallocp(&s->output_buf, newsize)) < 0) {
875 if ((ret = av_packet_from_data(pkt, s->output_buf, s->output_buf_size)) < 0) {
901 ret = AVERROR_UNKNOWN;
904 return ret;