validate: Avoid dereferencing NULL pointer

CID: 1461266
This commit is contained in:
Thibault Saunier 2020-04-09 11:16:34 -04:00
parent fadde5cfb9
commit 69d5202788

View file

@ -417,7 +417,7 @@ GES_START_VALIDATE_ACTION (_edit)
REPORT_UNLESS (GST_CLOCK_TIME_IS_VALID (position), beach, REPORT_UNLESS (GST_CLOCK_TIME_IS_VALID (position), beach,
"Invalid frame number '%" G_GINT64_FORMAT "': %s", fposition, "Invalid frame number '%" G_GINT64_FORMAT "': %s", fposition,
err->message); err ? err->message : "Unknown");
} }
gst_structure_get_int (action->structure, "new-layer-priority", gst_structure_get_int (action->structure, "new-layer-priority",