From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/mplayer/files: mplayer-1.1-codecid.patch |
Date: | Wed, 22 Aug 2012 15:24:30 |
Message-Id: | 20120822152411.55E2A20361@flycatcher.gentoo.org |
1 | aballier 12/08/22 15:24:11 |
2 | |
3 | Added: mplayer-1.1-codecid.patch |
4 | Log: |
5 | add upstream build fix against ffmpeg git master |
6 | |
7 | (Portage version: 2.2.0_alpha121/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-video/mplayer/files/mplayer-1.1-codecid.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mplayer/files/mplayer-1.1-codecid.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mplayer/files/mplayer-1.1-codecid.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: mplayer-1.1-codecid.patch |
16 | =================================================================== |
17 | r35075 | iive | 2012-08-11 12:42:43 -0400 (Sat, 11 Aug 2012) | 4 lines |
18 | |
19 | Quick Build Fix. FFmpeg CodecID is redefined as AVCodecID. |
20 | It needs the FFmpeg includes in all places that use it. |
21 | |
22 | |
23 | Index: libmpdemux/mp_taglists.h |
24 | =================================================================== |
25 | --- libmpdemux/mp_taglists.h (revision 35074) |
26 | +++ libmpdemux/mp_taglists.h (revision 35075) |
27 | @@ -20,6 +20,8 @@ |
28 | #define MPLAYER_MP_TAGLISTS_H |
29 | |
30 | #include <stdint.h> |
31 | +#include "libavutil/common.h" |
32 | +#include "libavformat/avformat.h" |
33 | |
34 | enum CodecID mp_tag2codec_id(uint32_t tag, int audio); |
35 | uint32_t mp_codec_id2tag(enum CodecID codec_id, uint32_t old_tag, int audio); |