Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/dvbcut/files: dvbcut-0.5.4-avformat-api-changes.patch
Date: Fri, 23 Nov 2007 22:57:13
Message-Id: E1IvhSO-0001J5-LV@stork.gentoo.org
1 aballier 07/11/23 22:57:08
2
3 Added: dvbcut-0.5.4-avformat-api-changes.patch
4 Log:
5 add a patch to build against libavformat 52.0.0
6 (Portage version: 2.1.3.19)
7
8 Revision Changes Path
9 1.1 media-video/dvbcut/files/dvbcut-0.5.4-avformat-api-changes.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/dvbcut/files/dvbcut-0.5.4-avformat-api-changes.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/dvbcut/files/dvbcut-0.5.4-avformat-api-changes.patch?rev=1.1&content-type=text/plain
13
14 Index: dvbcut-0.5.4-avformat-api-changes.patch
15 ===================================================================
16 Index: src/lavfmuxer.cpp
17 ===================================================================
18 --- src/lavfmuxer.cpp (revision 101)
19 +++ src/lavfmuxer.cpp (working copy)
20 @@ -120,7 +120,11 @@
21 if (fileopened) {
22 av_write_trailer(avfc);
23 if (!(fmt->flags & AVFMT_NOFILE))
24 +#if LIBAVFORMAT_VERSION_INT >= ((52<<16)+(0<<8)+0)
25 + url_fclose(avfc->pb);
26 +#else
27 url_fclose(&avfc->pb);
28 +#endif
29 }
30
31 av_free(avfc);
32
33
34
35 --
36 gentoo-commits@g.o mailing list