[MPlayer-users] bad header for large avi files?
Moritz Bunkus
moritz at bunkus.org
Sun Aug 1 22:13:18 CEST 2004
Hi,
> Hello, whenever I encode something that produces a large avi
> file (not sure of the exact size yet, maybe >1G?) mencoder seems
> to write an incorrect header.
No, ogmmerge's avilib is at fault. Try the attached patch, please.
Mosu
--
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds
-------------- next part --------------
Index: avilib.c
===================================================================
--- avilib.c (revision 1642)
+++ avilib.c (working copy)
@@ -2553,7 +2553,9 @@
}
i += 8;
}
- else if(strncasecmp(hdrl_data+i,"JUNK",4) == 0) {
+ else if ((strncasecmp(hdrl_data+i,"JUNK",4) == 0) ||
+ (strncasecmp(hdrl_data+i,"strn",4) == 0) ||
+ (strncasecmp(hdrl_data+i,"vprp",4) == 0)) {
i += 8;
// do not reset lasttag
} else
More information about the MPlayer-users
mailing list