[FFmpeg-devel] [PATCH] Add a parser for DNET (byte-swapped AC3).

Reimar Döffinger Reimar.Doeffinger
Wed Mar 2 23:02:39 CET 2011

On Wed, Mar 02, 2011 at 09:10:21PM +0000, M?ns Rullg?rd wrote:
> Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
> >> Then how did you intend to detect it as ac3 in the first place?
> >
> > By the fact that the RealMedia header says "DNET"?
> AC3 exists outside of realmedia file, you know...

So what? Has anyone seen the byte-swapped variant outside a container?
Either way libavformat has a better infrastructure to do this kind
of format detection when it's hard to decide, a parser is not really
such a great place for it.
Which, as said, is in addition to the fact whether there is a point
at all of supporting byte-swapped raw AC3. It obviously exists
in other containers, but already for that there seem to be no samples
available, DNET is the only one actually common (and even that seems

More information about the ffmpeg-devel mailing list