You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavc/jpeg2000: Signal lossless / bit-exact video stream.
This commit is contained in:
committed by
Michael Niedermayer
parent
32d8726a31
commit
c239fcb948
@@ -469,6 +469,9 @@ static int get_cox(Jpeg2000DecoderContext *s, Jpeg2000CodingStyle *c)
|
||||
/* set integer 9/7 DWT in case of BITEXACT flag */
|
||||
if ((s->avctx->flags & CODEC_FLAG_BITEXACT) && (c->transform == FF_DWT97))
|
||||
c->transform = FF_DWT97_INT;
|
||||
else if (c->transform == FF_DWT53) {
|
||||
s->avctx->properties |= FF_CODEC_PROPERTY_LOSSLESS;
|
||||
}
|
||||
|
||||
if (c->csty & JPEG2000_CSTY_PREC) {
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user