[MPlayer-users] Does not play .ogm xvid files anymore :/
Moritz Bunkus
moritz at bunkus.org
Thu Nov 4 16:25:05 CET 2004
Hey,
can you please test the attached patch? It has to be applied in the
'libmpdemux' subdir.
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: demux_ogg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ogg.c,v
retrieving revision 1.60
diff -u -u -r1.60 demux_ogg.c
--- demux_ogg.c 30 Oct 2004 08:42:25 -0000 1.60
+++ demux_ogg.c 4 Nov 2004 15:24:33 -0000
@@ -70,7 +70,7 @@
ogg_int32_t avgbytespersec;
} stream_header_audio;
-typedef struct stream_header
+typedef struct __attribute__((__packed__)) stream_header
{
char streamtype[8];
char subtype[4];
@@ -84,6 +84,8 @@
ogg_int32_t buffersize;
ogg_int16_t bits_per_sample;
+ ogg_int16_t padding;
+
union
{
// Video specific
More information about the MPlayer-users
mailing list