]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/dirac-cross.patch
* fix ffmpeg compilation by reverting their revision 11100
[vlc] / extras / contrib / src / Patches / dirac-cross.patch
1 diff -ruN dirac-0.6.0.old/Makefile.am dirac-0.6.0/Makefile.am
2 --- dirac/Makefile.am   2007-03-27 00:17:15.000000000 +0200
3 +++ dirac/Makefile.am   2007-03-27 00:18:31.000000000 +0200
4 @@ -2,17 +2,12 @@
5  #
6  
7  SUBDIRS = libdirac_byteio libdirac_common libdirac_motionest libdirac_encoder libdirac_decoder \
8 -encoder decoder util $(CPPUNITTESTS_DIR) tests $(DOC_DIR) win32
9 +encoder decoder util $(CPPUNITTESTS_DIR) win32
10  
11  .PHONY: valgrind-check
12  valgrind-check:
13         cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
14  
15 -if HAVE_DOXYGEN
16 -DOC_DIR = doc
17 -else
18 -DOC_DIR =
19 -endif
20  
21  if HAVE_LATEX
22  DOC_DIR = doc
23 diff -ruN dirac-0.6.0.old/configure.ac dirac-0.6.0/configure.ac
24 --- dirac/configure.ac  2007-03-27 00:17:15.000000000 +0200
25 +++ dirac/configure.ac  2007-03-27 00:19:52.000000000 +0200
26 @@ -143,7 +143,7 @@
27  dnl algorithm documentation is not distributed in
28  dnl the release. It is available only from CVS
29  dnl -----------------------------------------------
30 -AC_CHECK_FILE($srcdir/doc/documentation/algorithm/algorithm/index.htm,[HAVE_ALGO="true"], [HAVE_ALGO="false"])
31 +dnl AC_CHECK_FILE($srcdir/doc/documentation/algorithm/algorithm/index.htm,[HAVE_ALGO="true"], [HAVE_ALGO="false"])
32  AM_CONDITIONAL(HAVE_ALGO, $HAVE_ALGO)
33  
34  dnl -----------------------------------------------
35 @@ -151,7 +151,7 @@
36  dnl Enhancements is not distributed in
37  dnl the release. It is available only from CVS
38  dnl -----------------------------------------------
39 -AC_CHECK_FILE($srcdir/doc/documentation/algorithm/enhancements/index.htm,[HAVE_ENHANCE="true"], [HAVE_ENHANCE="false"])
40 +dnl AC_CHECK_FILE($srcdir/doc/documentation/algorithm/enhancements/index.htm,[HAVE_ENHANCE="true"], [HAVE_ENHANCE="false"])
41  AM_CONDITIONAL(HAVE_ENHANCE, $HAVE_ENHANCE)
42  
43  dnl -----------------------------------------------
44 @@ -159,7 +159,7 @@
45  dnl Global Motion documentation is not distributed in
46  dnl the release. It is available only from CVS
47  dnl -----------------------------------------------
48 -AC_CHECK_FILE($srcdir/doc/documentation/algorithm/global_motion/index.htm,[HAVE_GM="true"], [HAVE_GM="false"])
49 +dnl AC_CHECK_FILE($srcdir/doc/documentation/algorithm/global_motion/index.htm,[HAVE_GM="true"], [HAVE_GM="false"])
50  AM_CONDITIONAL(HAVE_GM, $HAVE_GM)
51  
52  dnl -----------------------------------------------
53 @@ -167,7 +167,7 @@
54  dnl Upconversion doc is not distributed in
55  dnl the release. It is available only from CVS
56  dnl -----------------------------------------------
57 -AC_CHECK_FILE($srcdir/doc/documentation/algorithm/upconversion/index.htm,[HAVE_UPCONV="true"], [HAVE_UPCONV="false"])
58 +dnl AC_CHECK_FILE($srcdir/doc/documentation/algorithm/upconversion/index.htm,[HAVE_UPCONV="true"], [HAVE_UPCONV="false"])
59  AM_CONDITIONAL(HAVE_UPCONV, $HAVE_UPCONV)
60  
61  dnl -----------------------------------------------
62 @@ -175,7 +175,7 @@
63  dnl programmer's guide is not distributed in
64  dnl the release. It is available only from CVS
65  dnl -----------------------------------------------
66 -AC_CHECK_FILE($srcdir/doc/documentation/code/programmers_guide/index.htm,[HAVE_PROG="true"], [HAVE_PROG="false"])
67 +dnl AC_CHECK_FILE($srcdir/doc/documentation/code/programmers_guide/index.htm,[HAVE_PROG="true"], [HAVE_PROG="false"])
68  AM_CONDITIONAL(HAVE_PROG, $HAVE_PROG)
69  
70  dnl -----------------------------------------------
71 @@ -183,7 +183,7 @@
72  dnl Diagnostics tools docs are is not distributed in
73  dnl the release. It is available only from CVS
74  dnl -----------------------------------------------
75 -AC_CHECK_FILE($srcdir/doc/documentation/tools/diagnostics/index.htm,[HAVE_DIAG="true"], [HAVE_DIAG="false"])
76 +dnl AC_CHECK_FILE($srcdir/doc/documentation/tools/diagnostics/index.htm,[HAVE_DIAG="true"], [HAVE_DIAG="false"])
77  AM_CONDITIONAL(HAVE_DIAG, $HAVE_DIAG)
78  
79  dnl -----------------------------------------------
80 --- dirac/libdirac_common/band_codec.cpp    2007-07-06 23:20:51.000000000 +0200
81 +++ dirac/libdirac_common/band_codec.cpp    2007-03-27 18:29:13.000000000 +0200
82 @@ -433,7 +433,7 @@
83          }
84  
85      }
86 -
87 +    return 0; // avoid warning
88  }
89  
90  inline int BandCodec::ChooseInfoContext() const 7