mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
imgconvert: make avcodec_find_best_pix_fmt2() more bug robust against future changes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
adfe59407e
commit
1287c81d65
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user