mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
mov: Fix compilation with DEBUG enabled
This commit is contained in:
parent
2a9c6fae92
commit
36cf8eb448
@ -994,7 +994,7 @@ static int mov_read_colr(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
|||||||
|
|
||||||
if (c->isom) {
|
if (c->isom) {
|
||||||
uint8_t color_range = avio_r8(pb) >> 7;
|
uint8_t color_range = avio_r8(pb) >> 7;
|
||||||
av_dlog(c->fc, " full %"PRIu8"", color_range)
|
av_dlog(c->fc, " full %"PRIu8"", color_range);
|
||||||
if (color_range)
|
if (color_range)
|
||||||
st->codec->color_range = AVCOL_RANGE_JPEG;
|
st->codec->color_range = AVCOL_RANGE_JPEG;
|
||||||
else
|
else
|
||||||
@ -1031,7 +1031,7 @@ static int mov_read_colr(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
|||||||
case 7: st->codec->colorspace = AVCOL_SPC_SMPTE240M; break;
|
case 7: st->codec->colorspace = AVCOL_SPC_SMPTE240M; break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
av_dlog(c->fc, "\n")
|
av_dlog(c->fc, "\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user