diff --git a/libavformat/mov.c b/libavformat/mov.c index 1f57dab89a..dc31e5a6f7 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1001,7 +1001,7 @@ static int mov_read_colr(MOVContext *c, AVIOContext *pb, MOVAtom atom) av_dlog(c->fc, "%s: pri %d trc %d matrix %d", color_parameter_type, color_primaries, color_trc, color_matrix); - if (c->isom) { + if (strncmp(color_parameter_type, "nclx", 4) == 0) { uint8_t color_range = avio_r8(pb) >> 7; av_dlog(c->fc, " full %"PRIu8"", color_range); if (color_range)