diff --git a/libavfilter/vf_srcnn.c b/libavfilter/vf_srcnn.c index d9b4891f7f..dace2b99b5 100644 --- a/libavfilter/vf_srcnn.c +++ b/libavfilter/vf_srcnn.c @@ -28,7 +28,9 @@ #include "formats.h" #include "internal.h" #include "libavutil/opt.h" -#include "unistd.h" +#if HAVE_UNISTD_H +#include +#endif #include "vf_srcnn.h" #include "libavformat/avio.h" diff --git a/tests/ref/fate/sws-pixdesc-query b/tests/ref/fate/sws-pixdesc-query index 0adfdcaf98..8071ec484d 100644 --- a/tests/ref/fate/sws-pixdesc-query +++ b/tests/ref/fate/sws-pixdesc-query @@ -49,6 +49,8 @@ isNBPS: gray10le gray12be gray12le + gray14be + gray14le gray9be gray9le nv20be @@ -121,6 +123,7 @@ isBE: gbrpf32be gray10be gray12be + gray14be gray16be gray9be nv20be @@ -403,6 +406,8 @@ Gray: gray10le gray12be gray12le + gray14be + gray14le gray16be gray16le gray9be