changeset 25967:87331ea89425

More explicit unsupported pixel format error messages. Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it
author benoit
date Fri, 15 Feb 2008 07:50:27 +0000
parents 28316f2f8d26
children c7f41f9e2eb8
files libswscale/swscale.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Thu Feb 14 17:38:52 2008 +0000
+++ b/libswscale/swscale.c	Fri Feb 15 07:50:27 2008 +0000
@@ -2062,12 +2062,12 @@
 
     if (!isSupportedIn(srcFormat))
     {
-        av_log(NULL, AV_LOG_ERROR, "swScaler: %s is not supported as input format\n", sws_format_name(srcFormat));
+        av_log(NULL, AV_LOG_ERROR, "swScaler: %s is not supported as input pixel format\n", sws_format_name(srcFormat));
         return NULL;
     }
     if (!isSupportedOut(dstFormat))
     {
-        av_log(NULL, AV_LOG_ERROR, "swScaler: %s is not supported as output format\n", sws_format_name(dstFormat));
+        av_log(NULL, AV_LOG_ERROR, "swScaler: %s is not supported as output pixel format\n", sws_format_name(dstFormat));
         return NULL;
     }