[Ffmpeg-devel] [PATCH] avoid calling a NULL function in swscale.c
Diego Biurrun
diego
Mon Apr 30 18:33:25 CEST 2007
On Mon, Apr 30, 2007 at 05:15:49PM +0200, Benoit Fouet wrote:
> Benoit Fouet wrote:
> > Benoit Fouet wrote:
> >
> >> ok, i cannot apply it by myself
> >> i attach updated patches (and indentation is done with tabs, to be
> >> compliant with what exists in swscale.c)
> >>
> > it'll wait until Diego has finished the cleanup :)
> >
> updated patches attached
>
> --- libswscale/swscale.c 2007-04-30 17:12:35.000000000 +0200
> +++ libswscale/swscale.c.1 2007-04-30 17:12:25.000000000 +0200
> @@ -1611,6 +1611,8 @@
>
> + if(conv)
> + {
> if (dstStride[0]*srcBpp == srcStride[0]*dstBpp)
> conv(src[0], dst[0] + dstStride[0]*srcSliceY, srcSliceH*srcStride[0]);
> @@ -1626,6 +1628,7 @@
> }
> + }
> return srcSliceH;
Don't forget to fix the indentation in a subsequent commit.
Diego
More information about the ffmpeg-devel
mailing list