reimar
6c0d230fb3
Add support for FFmpeg DK3 ADPCM codec and prefer it over MPlayer's
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27277 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 17:12:41 +00:00
reimar
a80b534b5a
Add support for FFmpeg's ADPCM codecs and make them the default
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27276 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 17:06:36 +00:00
reimar
468f0e9763
100l, do not use macros on functions that are not idempotent
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27275 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 16:56:00 +00:00
rathann
414178967f
Do not set _dvdreadconfig unconditionally.
...
Makes --with-dvdread-config actually work.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27274 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 14:36:20 +00:00
diego
846f87f83b
cosmetics: main (void) --> main(void)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27273 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 11:54:13 +00:00
diego
0caa345a69
main(void) --> int main(void) in .align test
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27272 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 11:50:48 +00:00
diego
72fa0a8931
Use correct header in libamr narrowband test.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27271 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 11:49:57 +00:00
reimar
422c92e314
Simplify and clamp coefficient index for MS ADPCM
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27270 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 10:08:40 +00:00
reimar
c83dca172f
100l, fix MS ADPCM decoding for e.g. http://samples.mplayerhq.hu/mov/qtaudio/surge-2-16-L-ms02.mov
...
First coefficient array must be unsigned to fit in 8 bits
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27269 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 09:23:14 +00:00
diego
4952dbf19a
Dependency files should be refreshed when object files are rebuilt.
...
Express this with Makefile syntax instead of in the dependency file
generation command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27268 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 08:23:10 +00:00
nicodvb
b16d3fd6c2
in dvd streams the title part ranges from 1 to 99
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27267 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 08:07:54 +00:00
reimar
c0455325f0
Reindent after last commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27266 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 22:04:29 +00:00
reimar
d8b29c80d5
Check size of tkdata before using it in mov demuxer.
...
Fixes bug #1170 and others.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27265 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 22:03:01 +00:00
reimar
49ddf2e0f5
Add atom_len sanity check to mov demuxer.
...
Fixes bug #1168
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27264 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 21:59:17 +00:00
reimar
baae5f1bdd
Quick hack to fix demux_mov crashes where easily possible.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27263 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 20:22:07 +00:00
reimar
ed0edb61cb
Make really sure channels can only be 1 or 2 for imaadpcm
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27262 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 19:29:41 +00:00
reimar
ca588e6a9f
Simplify imaadpcm return statement
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27261 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 19:28:22 +00:00
reimar
792dc55d19
Check length of input buffer for msadpcm
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27260 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 19:27:35 +00:00
reimar
ffc22175d3
Add a comment on shift vs. division
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27259 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 19:00:49 +00:00
reimar
68e6f22bbc
Scale msadpcm coefficients to fit into 8 bits
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27258 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:59:03 +00:00
reimar
4366cc211c
Simplify ad_msadpmc.c: Use AV_RL16, merge sign extension into LE_16 read and
...
use (int16_t) to let the compiler do the sign extension.
Reduces code size on x86_64, gcc 4.3.1 by 248 bytes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27257 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:51:12 +00:00
reimar
05deb158cf
Copy macro simplification from imaadpcm to msadpcm
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27256 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:36:21 +00:00
reimar
796e4a53ca
Remove useless comments from ad_msadpcm
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27255 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:14:16 +00:00
reimar
f5ead9d0ee
Make msadpcm arrays const
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27254 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:13:11 +00:00
reimar
0872673a5e
Remove unused macros
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27253 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:12:15 +00:00
reimar
57b3cfcea4
Explicitly include inttypes.h in ad_imaadpcm
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27252 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:10:06 +00:00
reimar
6da3883a44
1000l, fix demux_lavf compilation
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27251 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:04:36 +00:00
reimar
3ee9460505
Correct stream-seekability tests in demux_audio and demux_lavf
...
Based on a patch by Alexander Kanavin (alexander.kanavin nokia com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27250 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 17:25:37 +00:00
reimar
8833f7c4ce
Only read wav header cbSize when there is enough space in header.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27249 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-10 20:10:11 +00:00
reimar
646838e446
100l, assignment introduced in r27246 was exactly the wrong way around.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27248 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-10 20:06:43 +00:00
reimar
6f96a10094
Cosmetics: reindent
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27247 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-10 19:30:23 +00:00
reimar
bbb598b9eb
Clean up reading of wav extradata.
...
Fixes bug #1135
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27246 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-10 19:29:02 +00:00
lu_zero
4a6cd3026e
100l, avoption splitted code added, I should double check with svn status...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27245 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-10 15:37:06 +00:00
lu_zero
afbb3b8a16
Split AVOption/AVClass in a separate file. SoC Patch from Keiji Costantini
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27244 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-09 22:43:08 +00:00
reimar
80256aee5e
Fix stupid and almost pointless check-after-read code in asfheader.c.
...
Fixes bug #1133 .
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27243 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-09 18:24:48 +00:00
eugeni
8760b0cb71
Fix \fn without an argument consuming the next '\'.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27242 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-09 15:05:56 +00:00
gpoirier
1ff8a607e9
sync w/r27236
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27241 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-09 08:12:42 +00:00
diego
86f66849c1
Add -std=gnu99 to gcc CFLAGS if supported. This sets appropriate #defines to
...
avoid a bunch of implicit declaration warnings in (g)libc headers that define
certain functions conditional to those #defines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27240 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 16:11:58 +00:00
diego
3e1c882458
Mark function not used outside of the file as static.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27239 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 15:55:32 +00:00
diego
2ec286d286
Remove declaration of extern inline function that is used nowhere from header
...
file, fixes the warnings:
gui/mplayer/gui_common.h:32: warning: inline function 'TranslateFilename' declared but never defined
gui/mplayer/gui_common.h:32: warning: inline function 'TranslateFilename' declared but never defined
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27238 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 15:54:31 +00:00
ptt
eb9c1e5608
synced with r27236
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27237 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 14:38:09 +00:00
ptt
8c2451e772
another alphabetical order correction
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27236 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 13:34:03 +00:00
ptt
90f4b36eff
moved o option beetwen m* and p*
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27235 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 13:22:57 +00:00
diego
3a0ee8a23a
Add missing #include <sys/socket.h>, fixes the warnings:
...
stream/librtsp/rtsp.c: In function 'write_stream':
stream/librtsp/rtsp.c:68: warning: implicit declaration of function 'send'
stream/librtsp/rtsp.c: In function 'read_stream':
stream/librtsp/rtsp.c:95: warning: implicit declaration of function 'recv'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27234 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 08:20:39 +00:00
diego
8365a97450
Use correct PRIu64 length modifier for uint64_t value, fixes the warning:
...
libmpdemux/mpeg_packetizer.c:61: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'uint64_t'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27233 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 08:17:50 +00:00
diego
a77608b67a
Add support for MLP audio through FFmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27232 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 12:17:46 +00:00
diego
6ab83c724c
Run bash-specific shell scripts with bash, not sh.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27231 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 09:32:21 +00:00
diego
badc033ef7
Give all shell scripts a .sh suffix for consistency.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27230 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 09:30:22 +00:00
diego
1ebc859ff8
Replace bash-specific [[]] construct by proper a proper [] test.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27229 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 06:47:01 +00:00
diego
07e557c6d9
Replace == in []/test constructs with =, == is a bashism.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27228 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 06:43:45 +00:00