avformat/mov: fix error log for cdsc track references

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2026-07-14 19:48:26 -03:00
parent ac91f1c0f7
commit 96bce29565

View File

@@ -11154,7 +11154,7 @@ static int mov_parse_cdsc_streams(AVFormatContext *s)
st_ref = mov_find_reference_track(s, st, tag->id, tag->nb_id, 0);
if (!st_ref) {
int loglevel = (s->error_recognition & AV_EF_EXPLODE) ? AV_LOG_ERROR : AV_LOG_WARNING;
av_log(s, loglevel, "Failed to referenced stream\n");
av_log(s, loglevel, "Failed to find referenced stream\n");
if (s->error_recognition & AV_EF_EXPLODE)
return AVERROR_INVALIDDATA;
continue;