summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Optimize demux_ty_FindESHeaderreimar2007-09-141-8/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24503 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some commented-out debugging codereimar2007-09-141-29/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24502 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix demux_ty_FindESHeader so it won't overreadreimar2007-09-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24501 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify demux_ty_FindESPacket by reusing demux_ty_FindESHeaderreimar2007-09-141-32/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24500 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused demux_ty_FindESPacket parameterreimar2007-09-141-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24499 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify demux_ty_FindESHeaderreimar2007-09-141-12/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24498 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move variable declarations into the block where they are usedreimar2007-09-141-19/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24497 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another piece of duplicate codereimar2007-09-141-13/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24496 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid a big piece of duplicated codereimar2007-09-141-52/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24495 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of more code duplicationreimar2007-09-141-35/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24494 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify XDS handlingreimar2007-09-141-12/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce code duplicationreimar2007-09-141-21/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24492 b3059339-0415-0410-9bf9-f77b7e298cf2
* Greatly simplify IsValidAudioPacket, though this might break somethingreimar2007-09-141-30/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24491 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify IsValidAudioPacketreimar2007-09-141-9/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24490 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not misuse a_streams for private info, demuxer->priv is for that!reimar2007-09-141-22/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AV_RB24reimar2007-09-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24488 b3059339-0415-0410-9bf9-f77b7e298cf2
* get rid of pointless pesFileId variablesreimar2007-09-141-19/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24487 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify AV_RB32 / 256 -> AV_RB24reimar2007-09-141-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24486 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AV_RB32 instead of tivobuffer2hostlongreimar2007-09-141-12/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24485 b3059339-0415-0410-9bf9-f77b7e298cf2
* Yet more cosmeticsreimar2007-09-141-23/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24484 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move timestamps to int64_t and use MP_NOPTS_VALUEreimar2007-09-141-29/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24483 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxers are _not_ supposed to set ds->pts!reimar2007-09-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24482 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix completely broken get_ty_pts (it's an ordinary MPEG timestamp)reimar2007-09-141-15/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24481 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another ty simplificationreimar2007-09-141-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24480 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variablereimar2007-09-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24479 b3059339-0415-0410-9bf9-f77b7e298cf2
* tmf_totalsize is not used either, remove itreimar2007-09-141-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24478 b3059339-0415-0410-9bf9-f77b7e298cf2
* More simplificationsreimar2007-09-141-13/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24477 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of some quite pointless variablesreimar2007-09-141-18/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move boundary check before use!reimar2007-09-141-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24475 b3059339-0415-0410-9bf9-f77b7e298cf2
* pthreads support is required for teletextvoroshil2007-09-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24474 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused tmf_totalchunksreimar2007-09-141-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24473 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify EOF handlingreimar2007-09-141-10/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24472 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify tmf_filetooffsetreimar2007-09-141-21/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24471 b3059339-0415-0410-9bf9-f77b7e298cf2
* Small simplificationsreimar2007-09-141-7/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24470 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, placed terminating 0 at the wrong place.reimar2007-09-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24469 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid strlcpy, tar headers already have space to ensure 0-terminationreimar2007-09-141-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24468 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not ignore last chunk in .tmf files, it will cause part of the file to bereimar2007-09-141-3/+1
| | | | | | | missing during playback. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24467 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: remove lots of useless () and {}.reimar2007-09-141-151/+85
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24466 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use CHUNKSIZE define in a few more placesreimar2007-09-141-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24465 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify ty_extensionisreimar2007-09-141-8/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24464 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make demux_ty internal functions staticreimar2007-09-141-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24463 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use strtol instead of horribly suboptimal ty_octaltodecimalreimar2007-09-141-21/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24462 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix ESD check: use an ESD function to actually check linking and doreimar2007-09-141-2/+2
| | | | | | | not uselessly run resulting binary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24461 b3059339-0415-0410-9bf9-f77b7e298cf2
* sigill_handler_sse is not needed and can not compile on 64 bit systemsreimar2007-09-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24460 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not check for X86_FXSR_MAGIC define, it is missing in newerreimar2007-09-141-5/+4
| | | | | | | distribution/kernel headers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24459 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused sigfpe handlerreimar2007-09-141-22/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24458 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove test for SSE exception support that has been commented out since ages.reimar2007-09-141-25/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24457 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix off-by-one error if fsize is odd (does handling that case even make sense?)reimar2007-09-141-2/+1
| | | | | | | and remove a TODO comment that no longer applies. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24456 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark DTS tables as constreimar2007-09-141-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24455 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 10l typo in syncwordreimar2007-09-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24454 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved comments, based on patches by Ulion [ulion2002 gmail com]reimar2007-09-141-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24453 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and fix big-endian hwac3 header generation code.reimar2007-09-141-17/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24452 b3059339-0415-0410-9bf9-f77b7e298cf2
* Deobfuscate: use IMGFMT_RGB_DEPTH and IMGFMT_IS_BGRreimar2007-09-131-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24451 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix missing reset/initialization (with tv parameters) ofvoroshil2007-09-131-0/+2
| | | | | | | | vbi subsystem after tv initialization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24450 b3059339-0415-0410-9bf9-f77b7e298cf2
* added monkey audio file extensions to extension tableben2007-09-131-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24449 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move AM_MEDIA_TYPE structure definition to mediatype.h.voroshil2007-09-133-13/+26
| | | | | | | | | 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
* Check wLongsPerEntry before using it.reimar2007-09-131-5/+5
| | | | | | | | | | 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
* Remove useless preprocessor check, _WINGDI_H is never defined.diego2007-09-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24446 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for FFmpeg Monkey's Audio decoderuau2007-09-131-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24445 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-134-5/+5
| | | | | | | | | | | | | | | | | 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
* Replace constant by appropriate definereimar2007-09-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove leading underscores from multiple inclusion guards,diego2007-09-1331-103/+98
| | | | | | | leading underscores are reserved in the C standard. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24442 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix include path.diego2007-09-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24441 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant #ifndef, __WINE_MMSYSTEM_H is never defined.diego2007-09-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24440 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Use uppercase for multiple inclusion guards and comment #endifs.diego2007-09-122-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24439 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless #ifndef, __WINE_WINGDI_H is never defined.diego2007-09-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24438 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant multiple inclusion guard.diego2007-09-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24437 b3059339-0415-0410-9bf9-f77b7e298cf2
* DOCS/tech/colorspaces.txt says I420 and IYUV are the same, so add IYUV at thereimar2007-09-121-0/+1
| | | | | | | | 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
* r24423: Implementation of tv:// driver autodetection.voroshil2007-09-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24435 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24423: Implementation of tv:// driver autodetection.voroshil2007-09-121-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use path as multiple inclusion guard.diego2007-09-123-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24433 b3059339-0415-0410-9bf9-f77b7e298cf2
* synced with r24423Gabrov2007-09-122-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24432 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include to fix compilation.diego2007-09-121-0/+1
| | | | | | | 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
* Do not replace _ by - if x86_64 is given in --target.reimar2007-09-121-1/+4
| | | | | | | Patch by Andrew Calkin (andrew calkin gmail com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24430 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync w/r24423gpoirier2007-09-111-6/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix indentation after r24367.cehoyos2007-09-101-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24428 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24294: suboption consistency, add fixme document -vivo suboptionskraymer2007-09-102-5/+21
| | | | | | | | | | | | | r24310: Support for selecting language via packet 28. r24329: manpage fix: escape '\' in -vf geq description r24349: Support lowdelay flag r24356: spelling fixes, pointed by Diego r24357: Clarify teletext tlang option. r24386: move lavc option out of XviD section, to lavc section r24423: Implementation of tv:// driver autodetection. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24427 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r24424.voroshil2007-09-105-48/+48
| | | | | | | | Fix is wrong, because 'packed' attribute can be placed before structure definition only when all members have this attribute. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24426 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for:voroshil2007-09-102-13/+13
| | | | | | | | | | | | | | | | | | | dshow/DS_Filter.c: In function 'DS_Filter_CopySample': dshow/DS_Filter.c:103: warning: dereferencing type-punned pointer will break strict-aliasing rules dshow/DS_Filter.c:185: warning: dereferencing type-punned pointer will break strict-aliasing rules dshow/DS_Filter.c:191: