[FFmpeg-devel] [PATCH](Partly) fix issue 1527

Michael Niedermayer michaelni
Thu Dec 31 01:52:18 CET 2009


On Tue, Dec 29, 2009 at 09:16:08PM +0100, Carl Eugen Hoyos wrote:
> Hi!
>
> Currently, raw 16 bit in mov samples decode psychedelicly on little-endian, 
> and with red/blue swapped on big endian.
> Attached patch fixes big-endian, and leads to correct error message 
> (rgb555be not supported as input format) on little endian.
>
> An alternative would be to change the pixel format to rgb555, little endian 
> would then still produce something.
>
> Samples are attached to issue 1527 and samples/mov/16bit.mov.
>
> Please comment, Carl Eugen

>  rawdec.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 0599259b78663db0c76fbf2f8a1b57b815cba7f0  patchissue1527.diff

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- 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/20091231/700a8e78/attachment.pgp>



More information about the ffmpeg-devel mailing list