]> git.sesse.net Git - mlt/commitdiff
filter_swscale.c: Fix compilation (typo introduced in rev. 1330)
authorj-b-m <j-b-m@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 29 Jan 2009 13:34:24 +0000 (13:34 +0000)
committerj-b-m <j-b-m@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 29 Jan 2009 13:34:24 +0000 (13:34 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1333 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/avformat/filter_swscale.c

index bcb68ddfcb4ed7a1db94e95a9af92524c654ee32..fb9b54624df0e696f0310d9376528648d1a16e00 100644 (file)
@@ -126,7 +126,7 @@ static int filter_scale( mlt_frame this, uint8_t **image, mlt_image_format iform
 
        // Create the context and output image
        struct SwsContext *context = sws_getContext( iwidth, iheight, iformat, owidth, oheight, oformat, interp, NULL, NULL, NULL);
-       assert(swscale);
+       assert(context);
 
        // Perform the scaling
        sws_scale( context, input.data, input.linesize, 0, iheight, output.data, output.linesize);