1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00
Commit Graph

154 Commits

Author SHA1 Message Date
diego
03337f15ad Rename always_inline macro to av_always_inline so as not to clash with
with __attribute__((always_inline)) declarations.
This fixes the build on Mac OS X 10.4.11.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27485 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-26 21:29:54 +00:00
diego
934670b5ce Remove unused and untested function. It is only part of our local patchset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27477 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-22 21:35:38 +00:00
diego
2e3a315796 fix for alignment problem on older ARM cores
patch by Siarhei Siamashka, siarhei.siamashka gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27470 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-17 22:32:30 +00:00
diego
d1dcbd2f87 Remove AltiVec vector declaration compiler compatibility macros.
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27350 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-26 12:26:04 +00:00
diego
c6fe9d1af4 Check for HAVE_ALTIVEC_VECTOR_BRACES instead of __APPLE_CC__.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26927 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-30 12:05:24 +00:00
diego
0792780cb7 Use consistent #include paths without "../".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26576 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 14:50:24 +00:00
diego
835f0aaae6 Merge liba52/Makefile into top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26554 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-27 11:46:56 +00:00
diego
f9857014b5 Remove unnecessary compilation command that shadows GNU Make builtin command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26553 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-27 11:00:06 +00:00
diego
15aeb0c9ca Remove unnecessary -lm linker flag from test program compilation command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26552 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-27 10:34:24 +00:00
diego
55001d69f2 Refactor AltiVec macros as done for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26027 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 23:32:17 +00:00
diego
72b5d885bc Move compare.c to TOOLS, add it to the Makefile and document it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25830 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 00:05:48 +00:00
diego
8f5a9f22d6 Add proper license header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25590 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 22:02:06 +00:00
diego
44596daef1 Add proper license header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25554 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 22:15:45 +00:00
iive
99ad62f36f Fix compilation of liba52/test.c testing and benchmarking application.
It have been broken since API changes in liba52-0.7.4 
that have been introduced with commit r18723.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25514 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-23 11:29:36 +00:00
diego
dca49663cd cosmetics: Remove trailing whitespace, reformat one comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25512 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 19:16:01 +00:00
diego
ff08ff09ac Add proper copyright/license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25511 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 19:11:54 +00:00
diego
e0b884f232 Remove wrong and misleading comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25509 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 18:49:28 +00:00
diego
1d6e081282 typos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25508 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 18:35:52 +00:00
diego
bb3cabe5df cosmetics: grammar/spelling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25507 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 18:35:09 +00:00
diego
c4f9634758 Add missing #include, fixes
compare.c:18: warning: implicit declaration of function ‘exit’
compare.c:18: warning: incompatible implicit declaration of built-in function ‘exit’


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25503 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 17:13:17 +00:00
diego
fdfc6ffdf7 cosmetics: Remove trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25502 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 17:10:09 +00:00
diego
03d9657f10 cosmetics: spelling fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25501 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 17:00:43 +00:00
diego
24af96f8cc There is a check for altivec.h in configure so use the preprocessor directive
set by configure instead of an OS-specific directive when #including altivec.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25356 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:16:00 +00:00
diego
17981e0ab6 Replace SYS_DARWIN conditional directive around gcc macros by __APPLE_CC__.
The macro definition depends on compiler capabilities, not OS features.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25355 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:07:18 +00:00
diego
222ea2c463 Relicense as GPL v2 or later like the rest of liba52.
Permission given by Nick Kurshev.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25351 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 14:53:14 +00:00
diego
4bb3d604d5 main() --> main(void)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25128 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 09:22:33 +00:00
lu_zero
a74197b43f unaligned store, should fix bug #893
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25024 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-11 20:58:02 +00:00
diego
22fc24fe56 cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23893 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:28:38 +00:00
diego
83470e26c3 Move test program removal on distclean to mpcommon.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22802 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-24 15:03:57 +00:00
diego
690d6c1f71 Simplify test program compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22556 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 22:32:22 +00:00
diego
5519d98983 cosmetics: Fix indentation, reorder some lines for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego
60b39e2786 Give more descriptive names to the source and library variables and split
between common, MPlayer-specific and MEncoder-specific parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
gpoirier
ad29a1dd81 update local diff after r20779
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21507 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-05 07:14:05 +00:00
diego
ca93b73028 libac3 was removed ages ago, remove the related test target.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21309 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 10:49:44 +00:00
diego
dc2be42703 Merge common parts of all Makefiles into one file included by all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 18:12:36 +00:00
diego
27b0177662 Remove superfluous comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21222 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 16:12:36 +00:00
diego
cf4bf03dc2 Unify dep/depend targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21096 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-20 11:18:01 +00:00
gpoirier
7c9d04f18b symplify aligned memory allocation on mingw32 by using ffmpeg's av_malloc/av_free
Patch by Emanuele Giaquinta % e P giaquinta A glauco P it %
Original thread:
Subject: [MPlayer-dev-eng] [PATCH] liba52/parse.c: avoid dirty hack on mingw32
Date: 10/25/2006 03:19 AM


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20779 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 14:48:36 +00:00
diego
b02e7924b9 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-17 17:19:56 +00:00
diego
fcb6052a6e Update for changes from r19378 (ASMALIGN macro).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19379 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-13 00:44:42 +00:00
diego
b89020afc8 Replace asmalign.h hack by ASMALIGN cpp macros from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19378 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-13 00:21:14 +00:00
diego
ac142f0d45 cosmetics: Make patch apply cleanly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19254 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-29 23:26:30 +00:00
diego
57f3213401 CVS --> Subversion in copyright notices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:34:00 +00:00
rathann
d1b1317f88 sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 3: removed files


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18725 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 23:09:26 +00:00
rathann
db9186aa8a sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 2: cosmetic changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18724 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 22:59:40 +00:00
rathann
d686f4e3cf sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 1: functional changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18723 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 22:58:06 +00:00
diego
4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
nplourde
a3713ceb29 add support for intel mac. mp3lib is not fixed yet.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-15 20:46:54 +00:00
diego
3e56c5bb6b cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
to ease patching in the future.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17944 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 10:38:37 +00:00
rathann
e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +00:00