[MPlayer-dev-eng] [PATCH] add support for AC3 endianness
Ulion
ulion2002 at gmail.com
Sun Sep 23 12:55:50 CEST 2007
> Index: libao2/ao_dxr2.c
> ===================================================================
> --- libao2/ao_dxr2.c (revision 24540)
> +++ libao2/ao_dxr2.c (working copy)
> @@ -181,7 +181,7 @@
> // MPEG and AC3 don't work :-(
> if(ao_data.format==AF_FORMAT_MPEG2)
> send_mpeg_ps_packet (data, len, 0xC0, ao_data.pts, 2, write_dxr2);
> - else if(ao_data.format==AF_FORMAT_AC3)
> + else if(AF_FORMAT_IS_AC3(ao_data.format))
> send_mpeg_ps_packet (data, len, 0x80, ao_data.pts, 2, write_dxr2);
> else {
> int i;
Here send_mpeg_ps_packet with id 0x80, what's the byte-order the
function expect, BE or LE?
--
Ulion
More information about the MPlayer-dev-eng
mailing list