break;
} else if (ret < 0)
return ret;
- av_assert0(s->root.next); // If ff_request_frame() succeeded then we should have a frame
+ if (!s->root.next)
+ return 0;
}
head = s->root.next->frame;
return return_audio_frame(outlink->src);
return ret;
}
- av_assert0(fifo->root.next);
+ if (!fifo->root.next)
+ return 0;
}
if (outlink->request_samples) {