Browse code

imgconvert: make avcodec_find_best_pix_fmt2() more bug robust against future changes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2011/08/27 08:07:00
Showing 1 changed files
... ...
@@ -488,6 +488,7 @@ enum PixelFormat avcodec_find_best_pix_fmt2(enum PixelFormat dst_pix_fmt1, enum
488 488
         ~FF_LOSS_DEPTH,
489 489
         ~(FF_LOSS_RESOLUTION | FF_LOSS_DEPTH | FF_LOSS_COLORSPACE | FF_LOSS_ALPHA |
490 490
           FF_LOSS_COLORQUANT | FF_LOSS_CHROMA),
491
+        0x80000, //non zero entry that combines all loss variants including future additions
491 492
         0,
492 493
     };
493 494