imgconvert: add avcodec_find_best_pix_fmt2()
authorJanne Grunau <janne-libav@jannau.net>
Mon, 2 Jul 2012 09:15:06 +0000 (11:15 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Fri, 13 Jul 2012 17:22:46 +0000 (19:22 +0200)
commitac29054fda1fab73c443b7d6f9dd72a9f25f7aae
treee18167f622e3c3771499582c2fff0589a818bef3
parent39bb27bf79bc4c2d8beaed637a14176264cb1916
imgconvert: add avcodec_find_best_pix_fmt2()

The number of pixel formats outgrew the number of available bits in
the bitmask used in avcodec_find_best_pix_fmt().
avcodec_find_best_pix_fmt2() uses a PIX_FMT_NONE terminated list
of pixel formats instead.
libavcodec/avcodec.h
libavcodec/imgconvert.c
libavcodec/version.h