mpegtspacketizer: fix find_subtable() return value
authorJimmy Ohn <yongjin.ohn@lge.com>
Mon, 27 Apr 2015 13:44:28 +0000 (22:44 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 28 Apr 2015 13:48:22 +0000 (14:48 +0100)
find_subtable() returns a pointer, so return NULL and
not FALSE when nothing is found.

https://bugzilla.gnome.org/show_bug.cgi?id=748527

gst/mpegtsdemux/mpegtspacketizer.c

index edf837a..1cdb9e9 100644 (file)
@@ -148,7 +148,7 @@ find_subtable (GSList * subtables, guint8 table_id, guint16 subtable_extension)
       return sub;
   }
 
-  return FALSE;
+  return NULL;
 }
 
 static gboolean