oggdemux: fix incorrect testing of invalid granpos values
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 7 Jan 2013 18:01:31 +0000 (18:01 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 7 Jan 2013 18:03:52 +0000 (18:03 +0000)
commit658195e6de05944ddf069b875a29ce5fc191847b
tree8b8ec270047444a0d2ef37df51f5c001b24d5bb3
parent7107e9727329eae7bdcb037d9bb72d629b292bfa
oggdemux: fix incorrect testing of invalid granpos values

Positive granulepos is valid, -1 granulepos is unset, and all
other negative granulepos are invalid.

Reported by Tim-Philipp Müller
ext/ogg/gstoggdemux.c