[FFmpeg-devel] [PATCH] Simplify swscale.c:reset_ptr()
Stefano Sabatini
stefano.sabatini-lala
Sat Jan 16 12:05:19 CET 2010
On date Saturday 2010-01-16 11:14:22 +0100, Michael Niedermayer encoded:
> On Sat, Jan 16, 2010 at 02:39:30AM +0100, Stefano Sabatini wrote:
> > On date Monday 2009-11-02 12:48:39 +0100, Michael Niedermayer encoded:
> > > On Mon, Nov 02, 2009 at 12:58:26AM +0100, Stefano Sabatini wrote:
> > > > Hi, as in subject.
> > > > --
> > > > FFmpeg = Frenzy & Fundamentalist Moronic Pacific Energized Genius
> > >
> > > > swscale.c | 7 +------
> > > > 1 file changed, 1 insertion(+), 6 deletions(-)
> > > > 2346b71e853824ef21a24a0958d32e774bdeb355 simplify-sws-reset-ptr.patch
> > > > Index: libswscale/swscale.c
> > > > ===================================================================
> > > > --- libswscale/swscale.c (revision 29810)
> > > > +++ libswscale/swscale.c (working copy)
> > > > @@ -3068,12 +3068,7 @@
> > > > src[3]=NULL;
> > > > if(!isPlanarYUV(format)) {
> > > > src[3]=src[2]=NULL;
> > > > - if( format != PIX_FMT_PAL8
> > > > - && format != PIX_FMT_RGB8
> > > > - && format != PIX_FMT_BGR8
> > > > - && format != PIX_FMT_RGB4_BYTE
> > > > - && format != PIX_FMT_BGR4_BYTE
> > > > - )
> > > > + if (usePal(format))
> > >
> > > you have not tested this code
> >
> > Updated, regards.
> > --
> > FFmpeg = Faboulous and Funny Martial Powerful Enlightened Gnome
>
> > swscale.c | 8 ++------
> > 1 file changed, 2 insertions(+), 6 deletions(-)
> > aea27fdf56f54e9bc187ea2fcb8c764933a1b9d9 simplify-sws-reset-ptr.patch
>
> ok
Applied.
--
FFmpeg = Fundamentalist & Furious Maxi Powered Exuberant Genius
More information about the ffmpeg-devel
mailing list