Commit a1fa5392 authored by Kevin Wheatley's avatar Kevin Wheatley Committed by Michael Niedermayer

avcodec/exr: Mark up the decoded buffer as the appropriate transfer...

avcodec/exr: Mark up the decoded buffer as the appropriate transfer characteristic when applying one
parent 7eb32333
......@@ -1309,6 +1309,9 @@ static int decode_frame(AVCodecContext *avctx, void *data,
return AVERROR_INVALIDDATA;
}
if (s->apply_trc_type != AVCOL_TRC_UNSPECIFIED)
avctx->color_trc = s->apply_trc_type;
switch (s->compression) {
case EXR_RAW:
case EXR_RLE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment