Lines Matching defs:ret
156 int i, ret, prev_packet = s->packet;
171 for (i = 0, ret = AVERROR_INVALIDDATA; i < input_size - MIN_PACKET_SIZE + 1 && ret < 0; i++)
172 ret = avpriv_dca_convert_bitstream(input + i, input_size - i, s->buffer, s->buffer_size);
174 if (ret < 0) {
176 return ret;
180 input_size = ret;
189 if ((ret = ff_dca_core_parse(&s->core, input, input_size)) < 0)
190 return ret;
207 if ((ret = ff_dca_exss_parse(&s->exss, input, input_size)) < 0) {
209 return ret;
218 if ((ret = ff_dca_xll_parse(&s->xll, input, asset)) < 0) {
220 if (ret == AVERROR(EAGAIN)
224 else if (ret == AVERROR(ENOMEM) || (avctx->err_recognition & AV_EF_EXPLODE))
225 return ret;
233 if ((ret = ff_dca_lbr_parse(&s->lbr, input, asset)) < 0) {
234 if (ret == AVERROR(ENOMEM) || (avctx->err_recognition & AV_EF_EXPLODE))
235 return ret;
243 && (ret = ff_dca_core_parse_exss(&s->core, input, asset)) < 0)
244 return ret;
249 if ((ret = ff_dca_lbr_filter_frame(&s->lbr, frame)) < 0)
250 return ret;
259 if ((ret = ff_dca_core_filter_fixed(&s->core, x96_synth)) < 0)
260 return ret;
275 if ((ret = ff_dca_xll_filter_frame(&s->xll, frame)) < 0) {
278 return ret;
279 if (ret != AVERROR_INVALIDDATA || (avctx->err_recognition & AV_EF_EXPLODE))
280 return ret;
281 if ((ret = ff_dca_core_filter_frame(&s->core, frame)) < 0)
282 return ret;
285 if ((ret = ff_dca_core_filter_frame(&s->core, frame)) < 0)
286 return ret;