[FFmpeg-devel] [PATCH] swscale: Remove impossible if(flags&xxx) in initFilter().

Michael Niedermayer michaelni
Tue Jul 28 02:54:20 CEST 2009

On Mon, Jul 27, 2009 at 06:56:04AM -0300, Ramiro Polla wrote:
> Hi,
> flags is checked to be exactly one algorithm in sws_getContext(). At
> this point, these checks will always fail to the last else.
> Ramiro Polla

>  swscale.c |    4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 8a242154d4fdd155b5d34c20cfa4fed0a5f5c880  0008-flags-can-never-be-any-other-kind-of-scaling-algorit.patch
> From 5c46a893ad4ee698ca87286732258d8eb7a95d46 Mon Sep 17 00:00:00 2001
> From: Ramiro Polla <ramiro.polla at gmail.com>
> Date: Mon, 27 Jul 2009 06:54:02 -0300
> Subject: [PATCH] flags can never be any other kind of scaling algorithm inside this if().


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090728/ed03fcc2/attachment.pgp>

More information about the ffmpeg-devel mailing list