reimar
5789ab4ab7
More simplifications
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24477 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 17:03:26 +00:00
reimar
56f5ab430f
Get rid of some quite pointless variables
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24476 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 17:00:09 +00:00
reimar
4e9311b1de
Move boundary check before use!
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 16:58:31 +00:00
voroshil
b7f2c746cc
pthreads support is required for teletext
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24474 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 16:50:42 +00:00
reimar
37fbb9e2b0
Remove unused tmf_totalchunks
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24473 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 16:45:52 +00:00
reimar
bd5e05cde4
Simplify EOF handling
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24472 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 16:44:52 +00:00
reimar
9ec6875d20
Simplify tmf_filetooffset
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24471 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 16:42:46 +00:00
reimar
1498c9b7d0
Small simplifications
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24470 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 16:21:12 +00:00
reimar
55dac8bb6f
10l, placed terminating 0 at the wrong place.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24469 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 16:12:33 +00:00
reimar
d85a609547
Avoid strlcpy, tar headers already have space to ensure 0-termination
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24468 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 16:12:02 +00:00
reimar
97f633a083
Do not ignore last chunk in .tmf files, it will cause part of the file to be
...
missing during playback.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24467 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 16:04:12 +00:00
reimar
4fb393a73b
Cosmetics: remove lots of useless () and {}.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24466 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 15:52:46 +00:00
reimar
2334d91da4
Use CHUNKSIZE define in a few more places
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24465 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 15:33:21 +00:00
reimar
5ebf63afcd
Simplify ty_extensionis
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24464 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 15:28:47 +00:00
reimar
89c39c06d0
Make demux_ty internal functions static
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24463 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 15:19:45 +00:00
reimar
5ab9dde9d7
Use strtol instead of horribly suboptimal ty_octaltodecimal
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24462 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 15:12:46 +00:00
reimar
744d42b129
Fix ESD check: use an ESD function to actually check linking and do
...
not uselessly run resulting binary.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24461 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 14:45:08 +00:00
reimar
8351949b6f
sigill_handler_sse is not needed and can not compile on 64 bit systems
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24460 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 14:19:22 +00:00
reimar
2f5f5d3b4c
Do not check for X86_FXSR_MAGIC define, it is missing in newer
...
distribution/kernel headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24459 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 13:49:28 +00:00
reimar
62d005a974
Remove unused sigfpe handler
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24458 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 13:43:06 +00:00
reimar
38349bcac8
Remove test for SSE exception support that has been commented out since ages.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24457 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 13:25:20 +00:00
reimar
502368c206
Fix off-by-one error if fsize is odd (does handling that case even make sense?)
...
and remove a TODO comment that no longer applies.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24456 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 12:52:13 +00:00
reimar
73acce23fd
Mark DTS tables as const
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24455 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 12:47:15 +00:00
reimar
2be7f28a86
Fix 10l typo in syncword
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24454 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 12:39:02 +00:00
reimar
c3d320c6ac
Improved comments, based on patches by Ulion [ulion2002 gmail com]
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24453 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 08:56:04 +00:00
reimar
cb9466a0b3
Simplify and fix big-endian hwac3 header generation code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24452 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 08:54:06 +00:00
reimar
62e3a9e6a6
Deobfuscate: use IMGFMT_RGB_DEPTH and IMGFMT_IS_BGR
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24451 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 18:36:04 +00:00
voroshil
7d44f8c906
Fix missing reset/initialization (with tv parameters) of
...
vbi subsystem after tv initialization.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24450 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 17:13:27 +00:00
ben
6474da1414
added monkey audio file extensions to extension table
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24449 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 17:06:36 +00:00
voroshil
4357e135eb
Move AM_MEDIA_TYPE structure definition to mediatype.h.
...
Make inclusion of com.h and wine/*.h conditional,
this will allow reusing of mediatype.c code under MinGW
without requirement to include all remaining wine/* stuff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24448 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 16:13:37 +00:00
reimar
429b15b71b
Check wLongsPerEntry before using it.
...
This fixes a potential crash for some values of it.
As a side effect it works around broken callocs with an integer
overflow vulnerability, but using MPlayer on such systems should
never be assumed to be safe!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24447 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 15:18:57 +00:00
diego
5f9fbb7124
Remove useless preprocessor check, _WINGDI_H is never defined.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24446 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 14:12:06 +00:00
uau
b54169f071
Add support for FFmpeg Monkey's Audio decoder
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24445 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 13:47:22 +00:00
diego
43bd3a468e
warning fixes:
...
input.c: In function 'mp_input_set_section':
input.c:1640: warning: suggest parentheses around assignment used as truth value
input.c:1643: warning: suggest parentheses around assignment used as truth value
mga_common.c: In function 'mga_init':
mga_common.c:394: warning: suggest parentheses around assignment used as truth value
playtreeparser.c: In function 'parse_smil':
playtreeparser.c:523: warning: suggest parentheses around assignment used as truth value
libmpdemux/demux_ts.c: In function 'ts_parse':
libmpdemux/demux_ts.c:2795: warning: suggest parentheses around assignment used as truth value
libmpdemux/demux_ts.c: In function 'demux_open_ts':
libmpdemux/demux_ts.c:591: warning: 'frame_length' may be used uninitialized in this function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24444 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 13:16:30 +00:00
reimar
26bee6f728
Replace constant by appropriate define
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24443 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 11:23:32 +00:00
diego
52a20f8579
Remove leading underscores from multiple inclusion guards,
...
leading underscores are reserved in the C standard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24442 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 08:50:21 +00:00
diego
a94ff0adc4
Fix include path.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24441 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 00:17:52 +00:00
diego
a485b5d748
Remove redundant #ifndef, __WINE_MMSYSTEM_H is never defined.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24440 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 23:42:30 +00:00
diego
d81a386693
cosmetics: Use uppercase for multiple inclusion guards and comment #endifs.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24439 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 23:16:39 +00:00
diego
c374720467
Remove useless #ifndef, __WINE_WINGDI_H is never defined.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24438 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 23:14:55 +00:00
diego
254f0f1028
Remove redundant multiple inclusion guard.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24437 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 23:13:53 +00:00
reimar
aef93d245d
DOCS/tech/colorspaces.txt says I420 and IYUV are the same, so add IYUV at the
...
same place. It can't break anything worse than it is now (i.e. not working/supported
at all) and hopefully triggers a bug report so it gets fixed if it's wrong ;-)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24436 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 17:59:31 +00:00
voroshil
aa86532434
r24423: Implementation of tv:// driver autodetection.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24435 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 17:57:40 +00:00
voroshil
f7982b0b4d
r24423: Implementation of tv:// driver autodetection.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24434 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 17:53:41 +00:00
diego
802b125c30
Consistently use path as multiple inclusion guard.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24433 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 15:30:22 +00:00
Gabrov
01e19430f5
synced with r24423
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24432 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 14:54:08 +00:00
diego
177e5c452a
Add missing #include to fix compilation.
...
patch by Bernd Ernesti, mplayer-dev-eng lists.veego de
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24431 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 08:49:25 +00:00
reimar
f087be10ae
Do not replace _ by - if x86_64 is given in --target.
...
Patch by Andrew Calkin (andrew calkin gmail com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24430 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 06:59:36 +00:00
gpoirier
1878e0384b
sync w/r24423
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24429 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-11 11:41:10 +00:00
cehoyos
e0b3031d97
Fix indentation after r24367.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24428 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 23:14:17 +00:00