From: Niklas Haas <[email protected]>
Just for sanity.
---
libswscale/graph.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libswscale/graph.c b/libswscale/graph.c
index 36b74fad0c..311e2d0287 100644
--- a/libswscale/graph.c
+++ b/libswscale/graph.c
@@ -503,6 +503,7 @@ static void sws_graph_worker(void *priv, int jobnr, int
threadnr, int nb_jobs,
const SwsImg *output = pass->output.fmt != AV_PIX_FMT_NONE ? &pass->output
: &graph->exec.output;
const int slice_y = jobnr * pass->slice_h;
const int slice_h = FFMIN(pass->slice_h, pass->height - slice_y);
+ av_assert1(output->fmt == pass->format);
pass->run(output, input, slice_y, slice_h, pass);
}
--
2.47.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".