$OpenBSD: patch-import_extract_ac3_c,v 1.1.1.1 2005/01/25 21:59:00 naddy Exp $
--- import/extract_ac3.c.orig	Sat Jan  8 19:50:56 2005
+++ import/extract_ac3.c	Sat Jan  8 20:01:49 2005
@@ -237,7 +237,7 @@ static void pes_ac3_loop (void)
 		subtitle_header.payload_length=tmp2-tmp1;
 		
 		if(verbose & TC_STATS) 
-		  fprintf(stderr,"subtitle=0x%x size=%4d lpts=%d rpts=%f rptsfromvid=%f\n", track_code, tmp2-tmp1, subtitle_header.lpts, subtitle_header.rpts,abs_rpts); 
+		  fprintf(stderr,"subtitle=0x%x size=%4d lpts=%d rpts=%f rptsfromvid=%f\n", track_code, subtitle_header.payload_length, subtitle_header.lpts, subtitle_header.rpts,abs_rpts); 
 		
 		if(p_write(STDOUT_FILENO, (char*) subtitle_header_str, strlen(subtitle_header_str))<0) {
 		  fprintf(stderr, "error writing subtitle\n");
