FFmpeg/libavcodec
heimdallr 354b26a394 avcodec/imgconvert: Fix loss mask bug in avcodec_find_best_pix_fmt_of_list()
example:

AVPixelFormat pixFmts[] = { AV_PIX_FMT_RGB24, AV_PIX_FMT_RGBA };
int loss = 0;
AVPixelFormat best = avcodec_find_best_pix_fmt_of_list(pixFmts, AV_PIX_FMT_BGRA, 1, &loss);

best is AV_PIX_FMT_RGB24. But AV_PIX_FMT_RGBA is better.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-04-01 19:53:51 +02:00
..
2018-03-07 22:26:53 +01:00
2018-02-09 22:10:56 +01:00
2018-03-29 13:02:56 -03:00
2018-02-24 17:06:31 +01:00
2018-02-24 17:06:31 +01:00
2018-03-29 00:05:52 -03:00
2018-01-05 03:35:48 +01:00
2017-12-10 14:43:01 +01:00
2018-02-24 17:06:31 +01:00
2017-12-11 00:42:26 -03:00
2018-02-21 23:38:10 +00:00
2017-12-10 14:43:01 +01:00
2018-02-27 16:22:12 +01:00
2018-01-03 13:00:06 -05:00
2018-03-07 22:26:53 +01:00
2018-03-29 00:05:52 -03:00
2018-03-29 00:05:52 -03:00
2017-12-19 23:22:35 +00:00
2018-03-07 22:26:53 +01:00
2018-02-24 04:50:55 +01:00
2018-02-21 23:38:30 +00:00
2018-02-21 23:38:30 +00:00
2017-12-19 23:21:59 +00:00
2017-12-19 23:21:59 +00:00