[MPlayer-dev-eng] [PATCH]small patch for demux_real.c
Roberto Togni
r_togni at tiscali.it
Sun Jan 11 16:10:06 CET 2004
On 2004.01.11 07:19, LR wrote:
> Hi,
> ...
> Here is the new patch, make use of the "header size" to choose
> between
> read
> word or dword, But still I don't know if there is any other header
> size
> except 16 and 18.
What's the object version of the file header in your samples? (it's the
uint_16 that follows the object size). Quoting from real docs from
http://home.pcisys.net/~melanson/codecs/rmff.htm
RealMedia_File_Header
{
UINT32 object_id;
UINT32 size;
UINT16 object_version;
if (object_version == 0)
{
UINT32 file_version;
UINT32 num_headers;
}
}
I have one file with object version == 1, but it plays correctly and
everything else look the same (it's available on mphq ftp under
samples/RV20/stewie_vs_mr_rogers.rm)
Can you please upload a sample with header size != 0x12 ? How did you
get it? Was it a downloadable file or some kind of stream dump?
> Best Regards,
> LR
Ciao,
Roberto
More information about the MPlayer-dev-eng
mailing list