X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Favformat%2Ffilter_swscale.c;fp=src%2Fmodules%2Favformat%2Ffilter_swscale.c;h=fb9b54624df0e696f0310d9376528648d1a16e00;hb=bb52b9f3ce843820aca77ca7bc18adf1dcd61122;hp=bcb68ddfcb4ed7a1db94e95a9af92524c654ee32;hpb=e10df35d1daef05e1fee1e7cc939c07f05580783;p=melted diff --git a/src/modules/avformat/filter_swscale.c b/src/modules/avformat/filter_swscale.c index bcb68dd..fb9b546 100644 --- a/src/modules/avformat/filter_swscale.c +++ b/src/modules/avformat/filter_swscale.c @@ -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);