[FFmpeg-devel] [PATCH] Fix typo in pixel format warning message

Zack Bloom zackbloom at gmail.com
Sat Oct 23 19:54:16 EEST 2021


---
 libswscale/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/utils.c b/libswscale/utils.c
index 367b0ea..bc42673 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -1287,7 +1287,7 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter,
     c->dstRange |= handle_jpeg(&c->dstFormat);
 
     if(srcFormat!=c->srcFormat || dstFormat!=c->dstFormat)
-        av_log(c, AV_LOG_WARNING, "deprecated pixel format used, make sure you did set range correctly\n");
+        av_log(c, AV_LOG_WARNING, "deprecated pixel format used, make sure you set range correctly\n");
 
     if (!c->contrast && !c->saturation && !c->dstFormatBpp)
         sws_setColorspaceDetails(c, ff_yuv2rgb_coeffs[SWS_CS_DEFAULT], c->srcRange,
-- 
2.28.0



More information about the ffmpeg-devel mailing list