mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/fifo: explicitly assert that a frame should have become available after request
May help tools like coverity Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
760c5278db
commit
190a5893d1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user