1 |
aballier 12/02/26 13:49:47 |
2 |
|
3 |
Added: aqualung-0.9_beta11-libavformat54.patch |
4 |
Log: |
5 |
fix build with ffmpeg git |
6 |
|
7 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-sound/aqualung/files/aqualung-0.9_beta11-libavformat54.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/aqualung/files/aqualung-0.9_beta11-libavformat54.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/aqualung/files/aqualung-0.9_beta11-libavformat54.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: aqualung-0.9_beta11-libavformat54.patch |
16 |
=================================================================== |
17 |
Index: aqualung-0.9beta11/configure.ac |
18 |
=================================================================== |
19 |
--- aqualung-0.9beta11.orig/configure.ac |
20 |
+++ aqualung-0.9beta11/configure.ac |
21 |
@@ -660,7 +660,7 @@ else |
22 |
fi |
23 |
fi |
24 |
|
25 |
- AC_CHECK_LIB(avformat, av_open_input_file, [avf_lib=yes], [avf_lib=no], [-lavcodec -lavutil -lz]) |
26 |
+ AC_CHECK_LIB(avformat, avformat_open_input, [avf_lib=yes], [avf_lib=no], [-lavcodec -lavutil -lz]) |
27 |
AC_CHECK_LIB(avcodec, avcodec_open, [avc_lib=yes], [avc_lib=no], [-lavformat -lavutil -lz]) |
28 |
|
29 |
if test "$avc_hdr" = "yes" -a "$avf_hdr" = "yes" -a "$avc_lib" = "yes" -a "$avf_lib" = "yes" ; then |
30 |
Index: aqualung-0.9beta11/src/decoder/dec_lavc.c |
31 |
=================================================================== |
32 |
--- aqualung-0.9beta11.orig/src/decoder/dec_lavc.c |
33 |
+++ aqualung-0.9beta11/src/decoder/dec_lavc.c |
34 |
@@ -111,7 +111,7 @@ lavc_decoder_open(decoder_t * dec, char |
35 |
file_decoder_t * fdec = dec->fdec; |
36 |
int i; |
37 |
|
38 |
- if (av_open_input_file(&pd->avFormatCtx, filename, NULL, 0, NULL) != 0) |
39 |
+ if (avformat_open_input(&pd->avFormatCtx, filename, NULL, NULL) != 0) |
40 |
return DECODER_OPEN_BADLIB; |
41 |
|
42 |
if (av_find_stream_info(pd->avFormatCtx) < 0) |