Browse code

Merge remote-tracking branch 'newdev/master'

Merged-by: Michael Niedermayer <michaelni@gmx.at>

Not Pulled:
commit 42cfb3835b5dad327b7dc22740e8b6e482ecfcd2
Author: Mans Rullgard <mans@mansr.com>
Date: Mon Feb 28 18:06:58 2011 +0000

Remove Sonic experimental audio codec

commit 2912e87a6c9264d556734e2bf94a99c64cf9b102
Author: Mans Rullgard <mans@mansr.com>
Date: Fri Mar 18 17:35:10 2011 +0000

Replace FFmpeg with Libav in licence headers

Michael Niedermayer authored on 2011/03/20 04:02:42
Showing 9 changed files
... ...
@@ -577,7 +577,7 @@ EXCLUDE_SYMLINKS       = NO
577 577
 # against the file with absolute path, so to exclude all test directories
578 578
 # for example use the pattern */test/*
579 579
 
580
-EXCLUDE_PATTERNS       = *.svn *.git *.d
580
+EXCLUDE_PATTERNS       = *.git *.d
581 581
 
582 582
 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
583 583
 # (namespaces, classes, functions, etc.) that should be excluded from the
... ...
@@ -98,9 +98,8 @@ ffplay.o: CFLAGS += $(SDL_CFLAGS)
98 98
 
99 99
 VERSION_SH  = $(SRC_PATH_BARE)/version.sh
100 100
 GIT_LOG     = $(SRC_PATH_BARE)/.git/logs/HEAD
101
-SVN_ENTRIES = $(SRC_PATH_BARE)/.svn/entries
102 101
 
103
-.version: $(wildcard $(GIT_LOG) $(SVN_ENTRIES)) $(VERSION_SH) config.mak
102
+.version: $(wildcard $(GIT_LOG)) $(VERSION_SH) config.mak
104 103
 .version: M=@
105 104
 
106 105
 version.h .version:
... ...
@@ -2401,7 +2401,7 @@ case $target_os in
2401 2401
         SLIBSUF=".dll"
2402 2402
         SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'
2403 2403
         SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)'
2404
-        SLIB_EXTRA_CMD='-lib.exe /machine:$(LIBTARGET) /def:$$(@:$(SLIBSUF)=.def) /out:$(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)'
2404
+        SLIB_EXTRA_CMD=-'$(DLLTOOL) -m $(LIBTARGET) -d $$(@:$(SLIBSUF)=.def) -l $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)'
2405 2405
         SLIB_INSTALL_EXTRA_CMD='-install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME:$(SLIBSUF)=.lib)"; \
2406 2406
             install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)"; \
2407 2407
             install -d "$(LIBDIR)"; \
... ...
@@ -2409,6 +2409,7 @@ case $target_os in
2409 2409
         SLIB_UNINSTALL_EXTRA_CMD='rm -f "$(SHLIBDIR)/$(SLIBNAME:$(SLIBSUF)=.lib)"'
2410 2410
         SHFLAGS='-shared -Wl,--output-def,$$(@:$(SLIBSUF)=.def) -Wl,--out-implib,$(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base'
2411 2411
         objformat="win32"
2412
+        dlltool="${cross_prefix}dlltool"
2412 2413
         enable dos_paths
2413 2414
         check_cflags -fno-common
2414 2415
         check_cpp_condition _mingw.h "defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) \
... ...
@@ -2879,11 +2880,7 @@ if enabled libdc1394; then
2879 2879
     die "ERROR: No version of libdc1394 found "
2880 2880
 fi
2881 2881
 
2882
-SDL_CONFIG="${cross_prefix}sdl-config"
2883
-if "${SDL_CONFIG}" --version > /dev/null 2>&1; then
2884
-    sdl_cflags=$("${SDL_CONFIG}" --cflags)
2885
-    sdl_libs=$("${SDL_CONFIG}" --libs)
2886
-    check_func_headers SDL.h SDL_Init $sdl_cflags $sdl_libs &&
2882
+if check_pkg_config sdl SDL_version.h SDL_Linked_Version; then
2887 2883
     check_cpp_condition SDL.h "(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201" $sdl_cflags &&
2888 2884
     enable sdl &&
2889 2885
     check_struct SDL.h SDL_VideoInfo current_w $sdl_cflags && enable sdl_video_size
... ...
@@ -3138,7 +3135,7 @@ echo
3138 3138
 for type in decoder encoder hwaccel parser demuxer muxer protocol filter bsf indev outdev; do
3139 3139
     echo "Enabled ${type}s:"
3140 3140
     eval list=\$$(toupper $type)_LIST
3141
-    print_enabled '_*' $list | sort | pr -3 -t
3141
+    print_enabled '_*' $list | sort | pr -r -3 -t
3142 3142
     echo
3143 3143
 done
3144 3144
 
... ...
@@ -3232,6 +3229,7 @@ CPPFLAGS=$CPPFLAGS
3232 3232
 CFLAGS=$CFLAGS
3233 3233
 ASFLAGS=$ASFLAGS
3234 3234
 CC_O=$CC_O
3235
+DLLTOOL=$dlltool
3235 3236
 LDFLAGS=$LDFLAGS
3236 3237
 FFSERVERLDFLAGS=$FFSERVERLDFLAGS
3237 3238
 SHFLAGS=$SHFLAGS
... ...
@@ -74,7 +74,7 @@ Indent size is 4.
74 74
 The presentation is one inspired by 'indent -i4 -kr -nut'.
75 75
 The TAB character is forbidden outside of Makefiles as is any
76 76
 form of trailing whitespace. Commits containing either will be
77
-rejected by the Subversion repository.
77
+rejected by the git repository.
78 78
 
79 79
 The main priority in FFmpeg is simplicity and small code size in order to
80 80
 minimize the bug count.
... ...
@@ -23,7 +23,7 @@ help out creating them.
23 23
 @section I have a problem with an old version of FFmpeg; where should I report it?
24 24
 Nowhere. We do not support old FFmpeg versions in any way, we simply lack
25 25
 the time, motivation and manpower to do so. If you have a problem with an
26
-old version of FFmpeg, upgrade to the latest Subversion snapshot. If you
26
+old version of FFmpeg, upgrade to the latest git snapshot. If you
27 27
 still experience the problem, then you can report it according to the
28 28
 guidelines in @url{http://ffmpeg.org/bugreports.html}.
29 29
 
... ...
@@ -47,7 +47,7 @@ Likely reasons
47 47
 @item We are busy and haven't had time yet to read your report or
48 48
 investigate the issue.
49 49
 @item You didn't follow @url{http://ffmpeg.org/bugreports.html}.
50
-@item You didn't use Subversion HEAD.
50
+@item You didn't use git HEAD.
51 51
 @item You reported a segmentation fault without gdb output.
52 52
 @item You describe a problem but not how to reproduce it.
53 53
 @item It's unclear if you use ffmpeg as command line tool or use
... ...
@@ -1032,7 +1032,7 @@ llrint() in its C library.
1032 1032
 Install your Cygwin with all the "Base" packages, plus the
1033 1033
 following "Devel" ones:
1034 1034
 @example
1035
-binutils, gcc4-core, make, subversion, mingw-runtime, texi2html
1035
+binutils, gcc4-core, make, git, mingw-runtime, texi2html
1036 1036
 @end example
1037 1037
 
1038 1038
 And the following "Utils" one:
... ...
@@ -71,7 +71,7 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
71 71
 ...
72 72
 */
73 73
 
74
-//Changelog: use the Subversion log
74
+//Changelog: use git log
75 75
 
76 76
 #include "config.h"
77 77
 #include "libavutil/avutil.h"
... ...
@@ -29,7 +29,6 @@ checkout(){
29 29
     case "$repo" in
30 30
         file:*|/*) src="${repo#file:}"      ;;
31 31
         git:*)     git clone "$repo" "$src" ;;
32
-        svn:*)     svn co    "$repo" "$src" ;;
33 32
     esac
34 33
 }
35 34
 
... ...
@@ -37,7 +36,6 @@ update()(
37 37
     cd ${src} || return
38 38
     case "$repo" in
39 39
         git:*) git pull ;;
40
-        svn:*) svn up   ;;
41 40
     esac
42 41
 )
43 42
 
... ...
@@ -1,8 +1,5 @@
1 1
 #!/bin/sh
2 2
 
3
-revision=$(cd "$1" && cat snapshot_version 2> /dev/null)
4
-test "$revision" && revision=SVN-r$revision
5
-
6 3
 # check for git short hash
7 4
 if ! test "$revision"; then
8 5
     revision=$(cd "$1" && git describe --tags --match N 2> /dev/null)