That makes the output consistent, to be investigated if it could be
avoided. Thanks to Josh for spotting it.
---
libswscale/x86/swscale_template.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libswscale/x86/swscale_template.c
b/libswscale/x86/swscale_template.c
index 3da9d3d..a125dca 100644
--- a/libswscale/x86/swscale_template.c
+++ b/libswscale/x86/swscale_template.c
@@ -2916,6 +2916,9 @@ static void RENAME(sws_init_swScale)(SwsContext *c)
{
c->hyscale_fast = RENAME(hyscale_fast);
c->hcscale_fast = RENAME(hcscale_fast);
+ } else {
+ c->hyscale_fast = NULL;
+ c->hcscale_fast = NULL;
}
switch(srcFormat) {
--
1.7.4.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel