mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-25 01:54:17 +00:00
mxf: Remove useless check
a guint will always smaller or equal to the maximum value it can contain CID #206049
This commit is contained in:
parent
172c398127
commit
fa72b4c870
1 changed files with 0 additions and 2 deletions
|
@ -168,8 +168,6 @@ mxf_ber_encode_size (guint size, guint8 ber[9])
|
||||||
if (size <= 127) {
|
if (size <= 127) {
|
||||||
ber[0] = size;
|
ber[0] = size;
|
||||||
return 1;
|
return 1;
|
||||||
} else if (size > G_MAXUINT) {
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
slen = 0;
|
slen = 0;
|
||||||
|
|
Loading…
Reference in a new issue