]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
sws_flags is unsigned.
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 5 Mar 2008 04:02:04 +0000 (04:02 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 5 Mar 2008 04:02:04 +0000 (04:02 +0000)
This together with the last commit fixes the strange behavior of -sws_flags.
(issue229)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12325 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

ffmpeg.c

index 98f0f82e0c180b26ea10d450ba22fdbfd71b9aef..dc1c66b45d3b99453ef056517443a95fe057f708 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -206,7 +206,7 @@ static uint64_t limit_filesize = 0; //
 static int pgmyuv_compatibility_hack=0;
 static float dts_delta_threshold = 10;
 
-static int sws_flags = SWS_BICUBIC;
+static unsigned int sws_flags = SWS_BICUBIC;
 
 static const char **opt_names;
 static int opt_name_count;