]> git.sesse.net Git - mlt/commitdiff
Only use newish version of libswcale.
authorDan Dennedy <dan@dennedy.org>
Sun, 18 Apr 2010 07:36:03 +0000 (00:36 -0700)
committerDan Dennedy <dan@dennedy.org>
Sun, 18 Apr 2010 07:36:03 +0000 (00:36 -0700)
Some early revisions of 0.7.1 would cause garbage on last column of image
with non-even width.

configure
src/modules/avformat/filter_avcolour_space.c

index 46848b42e5dd648aa7db698651af745e9eeac9cf..a4a69e70e3dbaccebb4d951243603049483c9e87 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-export version=0.5.2
+export version=0.5.3
 export soversion=2
 
 show_help()
index 032fb4e40b42bb738e565972c76fc416c2d54fee..b1c5eb6254d082b7df88463f7f977e05f1305f66 100644 (file)
@@ -163,6 +163,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
 
 mlt_filter filter_avcolour_space_init( void *arg )
 {
+#if (LIBSWSCALE_VERSION_INT >= ((0<<16)+(7<<8)+2))
        // Test to see if swscale accepts the arg as resolution
        if ( arg )
        {
@@ -178,5 +179,8 @@ mlt_filter filter_avcolour_space_init( void *arg )
        if ( this != NULL )
                this->process = filter_process;
        return this;
+#else
+       return NULL;
+#endif
 }