[FFmpeg-devel] [PATCH 1/4] avformat/qtpalette: parse color table according to the QuickTime file format specs

Michael Niedermayer michael at niedermayer.cc
Fri Apr 20 02:21:15 EEST 2018


On Thu, Apr 19, 2018 at 09:32:18PM +0200, Marton Balint wrote:
> The specs says that the the first color component in the color array is
> not alpha, but simply 0.
> 
> Fixes 0 alpha of fate-suite/cvid/catfight-cvid-pal8-partial.mov
> 
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  libavformat/qtpalette.c             | 12 ++++++------
>  tests/ref/lavf-fate/mov_qtrle_mace6 |  2 +-
>  2 files changed, 7 insertions(+), 7 deletions(-)

this breaks libavcodec/tests/imgconvert.c

@@ -10,6 +10,7 @@
 pix fmt monow yuv_plan:0 avg_bpp:1
 pix fmt monob yuv_plan:0 avg_bpp:1
 pix fmt pal8 yuv_plan:0 avg_bpp:8
+Alpha flag mismatch
 pix fmt yuvj420p yuv_plan:1 avg_bpp:12
 pix fmt yuvj422p yuv_plan:1 avg_bpp:16
 pix fmt yuvj444p yuv_plan:1 avg_bpp:24


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

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180420/9d8edb2e/attachment.sig>


More information about the ffmpeg-devel mailing list