[FFmpeg-devel] [PATCH 1/2] pixdesc: mark AV_PIX_FMT_PAL8 as	having alpha
    Michael Niedermayer 
    michaelni at gmx.at
       
    Mon Feb  9 23:49:00 CET 2015
    
    
  
On Mon, Feb 09, 2015 at 10:33:53PM +0100, wm4 wrote:
> Otherwise, you could lose the alpha when handling pixel formats in an
> opaque manner (i.e. when you don't special-case PAL8).
> 
> The special case for av_get_pix_fmt_loss()/av_find_best_pix_fmt_of_2()
> is now redundant and can be removed.
> ---
> Fate still passes.
fate fails here
make V=2 fate-ac3-2.0
TEST    ac3-2.0
[...]
Assertion (d->nb_components==4 || d->nb_components==2) == !!(d->flags & (1 << 7)) failed at libavutil/pixdesc.c:2097
Aborted (core dumped)
make: *** [fate-ac3-2.0] Error 134
[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150209/7681f956/attachment.asc>
    
    
More information about the ffmpeg-devel
mailing list