validate: Fix mixup in variable check

This commit is contained in:
Thibault Saunier 2018-06-15 15:01:32 -04:00
parent 125d411063
commit 94ee508123

View file

@ -428,7 +428,7 @@ compare_segment_list (GstValidateMediaDescriptor * ref,
rsegments = rsegments->next, csegments = csegments->next, i++) {
GstValidateSegmentNode *rsegment, *csegment;
if (csegment == NULL) {
if (csegments == NULL) {
/* The list was checked to be of the same size */
g_assert_not_reached ();
return FALSE;