Mercurial > mplayer.hg
diff libmpdemux/demux_audio.h @ 34404:95f802285711
Allow compilation with Libav
Some CPP Macros and codec ids are not (yet) available in libav, so use
them only if they are actually defined. This doesn't work for code ids,
as they are defined as enums. Therefore, #ifdefs tests for the presence
of the respective codec.
This approach should also allow to compile mplayer against earlier
versions of FFmpeg.
author | siretart |
---|---|
date | Tue, 03 Jan 2012 15:51:26 +0000 |
parents | d2fd0e4d0b9a |
children |