gst/typefind/gsttypefindfunctions.c: Don't modify scan context when we return FALSE...
authorTim-Philipp Müller <tim@centricular.net>
Mon, 19 May 2008 14:09:08 +0000 (14:09 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 19 May 2008 14:09:08 +0000 (14:09 +0000)
commitcfc8f3c0d79c69910a44978cd64ef26a2d4a75b7
tree5de3ad796f1400d90cb17f826957062186e37a70
parent05cf63634e228151e1412c8965a973acf2d33bc5
gst/typefind/gsttypefindfunctions.c: Don't modify scan context when we return FALSE in ensure_data, so it's possible ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (data_scan_ctx_ensure_data),
(mpeg_sys_is_valid_pack):
Don't modify scan context when we return FALSE in ensure_data, so
it's possible to continue scanning, and we don't end up with a NULL
data pointer and a positive size, which might bite us the next time
we're called. Small constification.
ChangeLog
common
gst/typefind/gsttypefindfunctions.c