From 1287c81d65873bac2e2d062da8684f987ae54c4b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 27 Aug 2011 01:07:00 +0200 Subject: imgconvert: make avcodec_find_best_pix_fmt2() more bug robust against future changes Signed-off-by: Michael Niedermayer --- libavcodec/imgconvert.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/imgconvert.c') diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 2339fd0..c0ad9ea 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -488,6 +488,7 @@ enum PixelFormat avcodec_find_best_pix_fmt2(enum PixelFormat dst_pix_fmt1, enum ~FF_LOSS_DEPTH, ~(FF_LOSS_RESOLUTION | FF_LOSS_DEPTH | FF_LOSS_COLORSPACE | FF_LOSS_ALPHA | FF_LOSS_COLORQUANT | FF_LOSS_CHROMA), + 0x80000, //non zero entry that combines all loss variants including future additions 0, }; -- cgit v1.1