On Wed, Dec 9, 2009 at 9:43 AM, Tom Evans <tevans.uk at googlemail.com> wrote: > On Tue, Dec 8, 2009 at 9:07 PM, Reimar D?ffinger > <Reimar.Doeffinger at gmx.de> wrote: >> Could you try this patch and check if it breaks something (it's probably a good idea to do a make clean): >> Index: libaf/af_format.h >> =================================================================== >> --- libaf/af_format.h ? (revision 29976) >> +++ libaf/af_format.h ? (working copy) >> @@ -59,7 +59,7 @@ >> ?#define AF_FORMAT_MU_LAW ? ? ? (1<<6) >> ?#define AF_FORMAT_A_LAW ? ? ? ? ? ? ? ?(2<<6) >> ?#define AF_FORMAT_MPEG2 ? ? ? ? ? ? ? ?(3<<6) // MPEG(2) audio >> -#define AF_FORMAT_AC3 ? ? ? ? ?(4<<6) // Dolby Digital AC3 >> +#define AF_FORMAT_AC3 ? ? ? ? ?((4<<6)|AF_FORMAT_16BIT) // Dolby Digital AC3 >> ?#define AF_FORMAT_IMA_ADPCM ? ?(5<<6) >> ?#define AF_FORMAT_SPECIAL_MASK (7<<6) >> > > Thanks, I've rebuilt with this change and will test it on as many > types as I can tonight :) > > Cheers > > Tom > This also works correctly, for all the AC3 media I could find. Thanks Tom