[FFmpeg-devel] [RFC]libswscale: Sanitize isRGBinInt() and isBGRinInt()

Michael Niedermayer michael at niedermayer.cc
Tue Jul 25 22:27:44 EEST 2017


On Mon, Jul 24, 2017 at 08:00:51PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached is a PoC for a code simplification that imo makes a logic in
> libswscale easier to read and also fixes the Big Endian fate failure.
> If this approach is preferred, I will try to fix the five affected asm
> functions.
> 
> Please comment, Carl Eugen

breaks: (blue faces)
./ffplay -i matrixbench_mpeg2.mpg  -vf format=argb,scale=flags=16,format=rgb565


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170725/1ffeb484/attachment.sig>


More information about the ffmpeg-devel mailing list