[MPlayer-cvslog] r21935 - trunk/libmpdemux/demux_mpg.c
nicodvb
subversion at mplayerhq.hu
Mon Jan 15 22:21:43 CET 2007
Author: nicodvb
Date: Mon Jan 15 22:21:42 2007
New Revision: 21935
Modified:
trunk/libmpdemux/demux_mpg.c
Log:
in EVO files substreams 0xC0 of private streams 0xBD contain [e]ac3.
A more proper range will be committed when specs begin to appear;
for the time being enjoy the audio stream
Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c (original)
+++ trunk/libmpdemux/demux_mpg.c Mon Jan 15 22:21:42 2007
@@ -180,6 +180,7 @@
case 0x80: if((aid & 0xF8) == 0x88) sh_a->format=0x2001;//dts
else sh_a->format=0x2000;break; // ac3
}
+ if(aid == 0xC0) sh_a->format=0x2000;
if (mpg_d) mpg_d->a_stream_ids[mpg_d->num_a_streams++] = aid;
}
if(demux->audio->id==-1) demux->audio->id=aid;
@@ -312,7 +313,7 @@
ds=demux->sub;
}
- } else if((aid & 0xC0) == 0x80 || (aid & 0xE0) == 0x00) {
+ } else if((aid & 0xC0) == 0x80 || (aid & 0xE0) == 0x00 || aid==0xC0) {
// aid=128+(aid&0x7F);
// aid=0x80..0xBF
More information about the MPlayer-cvslog
mailing list