Use AV_PIX_FMT_FLAG_ALPHA for detecting transparency where nb_components was used
authorMarton Balint <cus@passwd.hu>
Thu, 19 Apr 2018 21:14:24 +0000 (23:14 +0200)
committerMarton Balint <cus@passwd.hu>
Mon, 30 Apr 2018 19:51:31 +0000 (21:51 +0200)
commit7033654f7f3c6663c9b5005b87fc06c29075244d
tree3b27c9b0c654a5f78a0e0cc23b3a46108405a242
parent56b081da578f87aed804b44e539f6e5345f3049a
Use AV_PIX_FMT_FLAG_ALPHA for detecting transparency where nb_components was used

Temporarily keep the old method for ffmpeg_filters.c choose_pix_fmt and
avfiltergraph.c pick_format() until a paletted pixel format without alpha is
introduced.

Signed-off-by: Marton Balint <cus@passwd.hu>
fftools/ffmpeg_filter.c
libavcodec/ffv1enc.c
libavfilter/avfiltergraph.c
libavutil/pixdesc.c