]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/dirac-cross.patch
b7467fa1091c5bf2f32899369d328caf6e53d26a
[vlc] / extras / contrib / src / Patches / dirac-cross.patch
1 diff --git a/Makefile.am b/Makefile.am
2 index dfd6b87..e534452 100644
3 --- a/Makefile.am
4 +++ b/Makefile.am
5 @@ -3,17 +3,12 @@
6  
7  SUBDIRS = libdirac_byteio libdirac_common libdirac_motionest libdirac_encoder \
8            libdirac_decoder encoder decoder util $(CPPUNITTESTS_DIR) \
9 -          tests $(DOC_DIR) win32
10 +          win32
11  
12  .PHONY: valgrind-check
13  valgrind-check:
14         cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
15  
16 -if HAVE_DOXYGEN
17 -DOC_DIR = doc
18 -else
19 -DOC_DIR =
20 -endif
21  
22  if HAVE_LATEX
23  DOC_DIR = doc
24 diff --git a/configure.ac b/configure.ac
25 index a4d0d84..975a83d 100644
26 --- a/configure.ac
27 +++ b/configure.ac
28 @@ -149,7 +149,7 @@ dnl Checks for optional files in doc directory.
29  dnl algorithm documentation is not distributed in
30  dnl the release. It is available only from CVS
31  dnl -----------------------------------------------
32 -AC_CHECK_FILE($srcdir/doc/documentation/algorithm/algorithm/index.htm,[HAVE_ALGO="true"], [HAVE_ALGO="false"])
33 +dnl AC_CHECK_FILE($srcdir/doc/documentation/algorithm/algorithm/index.htm,[HAVE_ALGO="true"], [HAVE_ALGO="false"])
34  AM_CONDITIONAL(HAVE_ALGO, $HAVE_ALGO)
35  
36  dnl -----------------------------------------------
37 @@ -157,7 +157,7 @@ dnl Checks for optional files in doc directory.
38  dnl Enhancements is not distributed in
39  dnl the release. It is available only from CVS
40  dnl -----------------------------------------------
41 -AC_CHECK_FILE($srcdir/doc/documentation/algorithm/enhancements/index.htm,[HAVE_ENHANCE="true"], [HAVE_ENHANCE="false"])
42 +dnl AC_CHECK_FILE($srcdir/doc/documentation/algorithm/enhancements/index.htm,[HAVE_ENHANCE="true"], [HAVE_ENHANCE="false"])
43  AM_CONDITIONAL(HAVE_ENHANCE, $HAVE_ENHANCE)
44  
45  dnl -----------------------------------------------
46 @@ -165,7 +165,7 @@ dnl Checks for optional files in doc directory.
47  dnl Global Motion documentation is not distributed in
48  dnl the release. It is available only from CVS
49  dnl -----------------------------------------------
50 -AC_CHECK_FILE($srcdir/doc/documentation/algorithm/global_motion/index.htm,[HAVE_GM="true"], [HAVE_GM="false"])
51 +dnl AC_CHECK_FILE($srcdir/doc/documentation/algorithm/global_motion/index.htm,[HAVE_GM="true"], [HAVE_GM="false"])
52  AM_CONDITIONAL(HAVE_GM, $HAVE_GM)
53  
54  dnl -----------------------------------------------
55 @@ -173,7 +173,7 @@ dnl Checks for optional files in doc directory.
56  dnl Upconversion doc is not distributed in
57  dnl the release. It is available only from CVS
58  dnl -----------------------------------------------
59 -AC_CHECK_FILE($srcdir/doc/documentation/algorithm/upconversion/index.htm,[HAVE_UPCONV="true"], [HAVE_UPCONV="false"])
60 +dnl AC_CHECK_FILE($srcdir/doc/documentation/algorithm/upconversion/index.htm,[HAVE_UPCONV="true"], [HAVE_UPCONV="false"])
61  AM_CONDITIONAL(HAVE_UPCONV, $HAVE_UPCONV)
62  
63  dnl -----------------------------------------------
64 @@ -181,7 +181,7 @@ dnl Checks for optional files in doc directory.
65  dnl programmer's guide is not distributed in
66  dnl the release. It is available only from CVS
67  dnl -----------------------------------------------
68 -AC_CHECK_FILE($srcdir/doc/documentation/code/programmers_guide/index.htm,[HAVE_PROG="true"], [HAVE_PROG="false"])
69 +dnl AC_CHECK_FILE($srcdir/doc/documentation/code/programmers_guide/index.htm,[HAVE_PROG="true"], [HAVE_PROG="false"])
70  AM_CONDITIONAL(HAVE_PROG, $HAVE_PROG)
71  
72  dnl -----------------------------------------------
73 @@ -189,7 +189,7 @@ dnl Checks for optional files in doc directory.
74  dnl Diagnostics tools docs are is not distributed in
75  dnl the release. It is available only from CVS
76  dnl -----------------------------------------------
77 -AC_CHECK_FILE($srcdir/doc/documentation/tools/diagnostics/index.htm,[HAVE_DIAG="true"], [HAVE_DIAG="false"])
78 +dnl AC_CHECK_FILE($srcdir/doc/documentation/tools/diagnostics/index.htm,[HAVE_DIAG="true"], [HAVE_DIAG="false"])
79  AM_CONDITIONAL(HAVE_DIAG, $HAVE_DIAG)
80  
81  dnl -----------------------------------------------
82 diff --git a/libdirac_common/band_codec.cpp b/libdirac_common/band_codec.cpp
83 index f750906..bfe6e75 100644
84 --- a/libdirac_common/band_codec.cpp
85 +++ b/libdirac_common/band_codec.cpp
86 @@ -433,7 +433,7 @@ inline int BandCodec::ChooseFollowContext( const int bin_number ) const
87          }
88  
89      }
90 -
91 +    return 0; // avoid warning
92  }
93  
94  inline int BandCodec::ChooseInfoContext() const