summaryrefslogtreecommitdiffstats
path: root/gst/mxf/mxfmetadata.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-07 15:45:50 +0200
committerDave Robillard <dave@drobilla.net>2009-05-03 12:03:14 -0400
commite5c8ca4ceb09c5d10c725c65c12a9e2dcd2daaaa (patch)
tree3c35fb72bcc3d5469fea2e2fc365fea8a9685460 /gst/mxf/mxfmetadata.c
parent87bdeb75f25624f32990e528af2ecc09d97b801b (diff)
downloadgst-plugins-bad-e5c8ca4ceb09c5d10c725c65c12a9e2dcd2daaaa.tar.gz
gst-plugins-bad-e5c8ca4ceb09c5d10c725c65c12a9e2dcd2daaaa.tar.bz2
gst-plugins-bad-e5c8ca4ceb09c5d10c725c65c12a9e2dcd2daaaa.zip
mxf: Fix comparison
Diffstat (limited to 'gst/mxf/mxfmetadata.c')
-rw-r--r--gst/mxf/mxfmetadata.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/mxf/mxfmetadata.c b/gst/mxf/mxfmetadata.c
index 81a89e02..057a99d9 100644
--- a/gst/mxf/mxfmetadata.c
+++ b/gst/mxf/mxfmetadata.c
@@ -2609,8 +2609,7 @@ mxf_metadata_track_identifier_parse (const MXFUL * track_identifier)
guint i;
for (i = 0; i < G_N_ELEMENTS (mxf_metadata_track_identifier); i++)
- if (mxf_ul_is_equal (mxf_metadata_track_identifier[i].ul,
- track_identifier) == 0)
+ if (mxf_ul_is_equal (mxf_metadata_track_identifier[i].ul, track_identifier))
return mxf_metadata_track_identifier[i].type;
return MXF_METADATA_TRACK_UNKNOWN;