Mercurial > mplayer.hg
diff libmpdemux/mpeg_hdr.c @ 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 | a252f21a07e3 |
children | 1495455e6d22 |