From d99e621533b73a6839de0faa991737b7e84676f2 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Tue, 10 Jun 2014 10:23:13 -0400 Subject: [PATCH] bytereader: Use concistant derefence method This is minor style fix to not mix *var and var[N]. --- libs/gst/base/gstbytereader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/base/gstbytereader.c b/libs/gst/base/gstbytereader.c index f9e4c7a..b73a679 100644 --- a/libs/gst/base/gstbytereader.c +++ b/libs/gst/base/gstbytereader.c @@ -783,7 +783,7 @@ _scan_for_start_code (const guint8 * data, guint offset, guint size) pdata += 3; } else if (pdata[1]) { pdata += 2; - } else if (*pdata || pdata[2] != 1) { + } else if (pdata[0] || pdata[2] != 1) { pdata++; } else { return (pdata - data + offset); -- 2.7.4