diff options
-rw-r--r-- | src/libsputext/xine_decoder.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libsputext/xine_decoder.c b/src/libsputext/xine_decoder.c index ab3693306..7e99e2b33 100644 --- a/src/libsputext/xine_decoder.c +++ b/src/libsputext/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.76 2004/02/03 11:12:18 tmattern Exp $ + * $Id: xine_decoder.c,v 1.77 2004/02/15 18:52:42 heinchen Exp $ * */ @@ -388,6 +388,9 @@ static void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) { start = *val++; end = *val++; str = (char *)val; + + if (!*str) return; + /* Empty ogm packets (as created by ogmmux) clears out old messages. We already respect the end time. */ this->lines = 0; |