diff -Nur gst-plugins-base-0.10.34.orig/ext/ogg/gstoggstream.c gst-plugins-base-0.10.34/ext/ogg/gstoggstream.c
--- gst-plugins-base-0.10.34.orig/ext/ogg/gstoggstream.c	2011-04-17 00:17:01.000000000 +1000
+++ gst-plugins-base-0.10.34/ext/ogg/gstoggstream.c	2011-07-29 22:01:30.660920161 +1000
@@ -792,7 +792,7 @@
   int size;
   int duration;
 
-  if (packet->packet[0] & 1)
+  if (packet->bytes == 0 || packet->packet[0] & 1)
     return 0;
 
   mode = (packet->packet[0] >> 1) & ((1 << pad->vorbis_log2_num_modes) - 1);
