From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/picard/files: picard-0.13-ffmpeg.patch |
Date: | Thu, 28 Apr 2011 14:38:01 |
Message-Id: | 20110428143751.8EFCD20057@flycatcher.gentoo.org |
1 | aballier 11/04/28 14:37:51 |
2 | |
3 | Added: picard-0.13-ffmpeg.patch |
4 | Log: |
5 | version bump and fix build with ffmpeg trunk |
6 | |
7 | (Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-sound/picard/files/picard-0.13-ffmpeg.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/picard/files/picard-0.13-ffmpeg.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/picard/files/picard-0.13-ffmpeg.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: picard-0.13-ffmpeg.patch |
16 | =================================================================== |
17 | Index: picard-0.13/picard/musicdns/avcodec.c |
18 | =================================================================== |
19 | --- picard-0.13.orig/picard/musicdns/avcodec.c |
20 | +++ picard-0.13/picard/musicdns/avcodec.c |
21 | @@ -251,7 +251,7 @@ decode(PyObject *self, PyObject *args) |
22 | codec_context = NULL; |
23 | for (i = 0; i < format_context->nb_streams; i++) { |
24 | codec_context = (AVCodecContext *)format_context->streams[i]->codec; |
25 | - if (codec_context && codec_context->codec_type == CODEC_TYPE_AUDIO) |
26 | + if (codec_context && codec_context->codec_type == AVMEDIA_TYPE_AUDIO) |
27 | break; |
28 | } |
29 | if (codec_context == NULL) { |