[MPlayer-dev-eng] RealMedia playing broken with demux_real.c 1.58
Dominik 'Rathann' Mierzejewski
dominik at rangers.eu.org
Fri Apr 30 23:18:48 CEST 2004
Hi.
The CVS change below breaks plaing all RealMedia files I have. Reversing
it fixes the problem. Interestingly, all these files have hdr_size less
than 0x4e, so stream_skip is actually called with negative argument (-8
for example), which results in sig11.
@@ -1190,6 +1193,10 @@
sh->wf->cbSize = 0;
sh->format = MKTAG(buf[0], buf[1], buf[2], buf[3]);
+ if ((version != 3) && (hdr_size != 0x4e)) {
+ mp_msg(MSGT_DEMUX,MSGL_V,"skipping %d extra header bytes\n", hdr_size-0x4e);
+ stream_skip(demuxer->stream, hdr_size-0x4e);
+ }
#if 0
switch (sh->format){
case MKTAG('d', 'n', 'e', 't'):
Shall I provide more info?
--
MPlayer RPMs maintainer: http://greysector.rangers.eu.org/mplayer.html
"I am Grey. I stand between the candle and the star. We are Grey.
We stand between the darkness ... and the light."
-- Delenn in Grey Council in Babylon 5:"Babylon Squared"
More information about the MPlayer-dev-eng
mailing list