typefindfunctions: Fix otio typefinder detecting anything with curly braces at the...
authorSebastian Dröge <sebastian@centricular.com>
Mon, 6 Apr 2020 12:14:41 +0000 (15:14 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 6 Apr 2020 12:20:22 +0000 (15:20 +0300)
commitfa91783833b0f7518babc00ba08b58904d32484b
tree1ef40172c544a8e09b827a0c15adc2e432519310
parentfef4717770f4f829ef8d23ffd0f4797f7522eb37
typefindfunctions: Fix otio typefinder detecting anything with curly braces at the start

memcmp() returns 0 (aka FALSE) on match and a difference otherwise.

Previously the typefinder was matching on anything but otio files that
happened to have some curly braces in the beginning of the file.

Fixes a false positive with a MOV file.
gst/typefind/gsttypefindfunctions.c