bytereader: Use concistant derefence method

This is minor style fix to not mix *var and var[N].
This commit is contained in:
Nicolas Dufresne 2014-06-10 10:23:13 -04:00
parent d3b2f6e4b8
commit d99e621533

View file

@ -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);