summaryrefslogtreecommitdiff
path: root/gst/mxf/mxftypes.c
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2014-04-16 16:12:02 +0200
committerEdward Hervey <edward@collabora.com>2014-04-16 16:12:02 +0200
commitfa72b4c87091b416249fe268cf3f981937935a10 (patch)
tree9b445dca2827eca74897aeb17cb6033f12b8b12f /gst/mxf/mxftypes.c
parent172c39812726c06b3a922a2a6c2fedc8f333a187 (diff)
downloadgstreamer-plugins-bad-fa72b4c87091b416249fe268cf3f981937935a10.tar.gz
mxf: Remove useless check
a guint will always smaller or equal to the maximum value it can contain CID #206049
Diffstat (limited to 'gst/mxf/mxftypes.c')
-rw-r--r--gst/mxf/mxftypes.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/mxf/mxftypes.c b/gst/mxf/mxftypes.c
index a9065fd9b..bbcdb5567 100644
--- a/gst/mxf/mxftypes.c
+++ b/gst/mxf/mxftypes.c
@@ -168,8 +168,6 @@ mxf_ber_encode_size (guint size, guint8 ber[9])
if (size <= 127) {
ber[0] = size;
return 1;
- } else if (size > G_MAXUINT) {
- return 0;
}
slen = 0;