[MPlayer-dev-eng] [RFC] swscaler: Don't try to use bgr8torgbnn

Michael Niedermayer michaelni at gmx.at
Tue Apr 3 03:17:04 CEST 2007


Hi

On Mon, Apr 02, 2007 at 03:11:56AM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> I tried to convert the first frame of
> http://samples.mplayerhq.hu/V-codecs/8BPS-PlanarRGB/full9ironswing.mov
> into pnm (or png or jpeg) using this command:
> mplayer full9ironswing.mov -frames 1 -vo pnm
> 
> mplayer crashes with a "swScaler: internal error" message because no
> scalers for bgr8 are defined.
> 
> Attached patch is a naive try to fix the crash and allow the conversion,
> please comment, Carl Eugen

i think the check is insufficient there are further formats not supported
by rgb2rgbWrapper which would pass this ...

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

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070403/597eb128/attachment.pgp>


More information about the MPlayer-dev-eng mailing list