Commit 190a5893 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/fifo: explicitly assert that a frame should have become available after request

May help tools like coverity
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 760c5278
......@@ -201,6 +201,7 @@ static int return_audio_frame(AVFilterContext *ctx)
break;
} else if (ret < 0)
return ret;
av_assert0(s->root.next); // If ff_request_frame() succeeded then we should have a frame
}
head = s->root.next->frame;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment