[FFmpeg-devel] [RFC] Make swscale-test perform only one convertion

Stefano Sabatini stefano.sabatini-lala
Tue Feb 16 01:29:02 CET 2010


On date Friday 2010-02-12 01:30:23 +0100, Michael Niedermayer encoded:
> On Fri, Feb 12, 2010 at 12:32:44AM +0100, Stefano Sabatini wrote:
> [...]
> > +    if (((i = 1) && ((srcFmt = av_get_pix_fmt(argv[i])) == PIX_FMT_NONE)) ||
> > +        ((i = 2) && ((dstFmt = av_get_pix_fmt(argv[i])) == PIX_FMT_NONE))) {
> > +        fprintf(stderr, "Unknown pixel format name: '%s'\n", argv[i]);
> > +        return -1;
> > +    }
> 
> wrong mailing list, this is not the obfuscated code contest

Uh, maybe I overdid at trying to keep low the line count...

Regards.
-- 
FFmpeg = Fancy & Furious Moronic Pacific Extravagant Geek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: implement-swscale-test-lite.patch
Type: text/x-diff
Size: 3506 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100216/f3f17031/attachment.patch>



More information about the ffmpeg-devel mailing list