Remove unnecessary void cast

The ctx variable is used.
This commit is contained in:
Romain Vimont 2026-02-26 00:20:17 +01:00
parent 10e0c3226c
commit e78281c864

View file

@ -280,7 +280,6 @@ sc_screen_frame_sink_open(struct sc_frame_sink *sink,
const AVCodecContext *ctx,
const struct sc_stream_session *session) {
assert(ctx->pix_fmt == AV_PIX_FMT_YUV420P);
(void) ctx;
(void) session;
struct sc_screen *screen = DOWNCAST(sink);