summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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: warning: dereferencing type-punned pointer will break strict-aliasing rules dshow/DS_Filter.c:198: warning: dereferencing type-punned pointer will break strict-aliasing rules dshow/DS_Filter.c:220: warning: dereferencing type-punned pointer will break strict-aliasing rules dshow/DS_Filter.c:245: warning: dereferencing type-punned pointer will break strict-aliasing rules dmo/dmo.c: In function 'DMO_FilterCreate': dmo/dmo.c:73: warning: dereferencing type-punned pointer will break strict-aliasing rules dmo/dmo.c:79: warning: dereferencing type-punned pointer will break strict-aliasing rules dmo/dmo.c:86: warning: dereferencing type-punned pointer will break strict-aliasing rules dmo/dmo.c:90: warning: dereferencing type-punned pointer will break strict-aliasing rules dmo/dmo.c:93: warning: dereferencing type-punned pointer will break strict-aliasing rules git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24425 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for a lot ofvoroshil2007-09-105-48/+48
| | | | | | | | "'packed' attribute ignored for field of type 'BYTE'" warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24424 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implementation of tv:// driver autodetection.voroshil2007-09-104-10/+21
| | | | | | | | | | | | If user did not specify driver directly, all available drivers will be probed (in order: v4l2,v4l1,bsdbt848,dummy). In most cases first probed driver will be successfully autodetected and used. Autodetection will be disabled if user specified driver directly (in command line or config). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24423 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Add comments to some #endif preprocessor directives.diego2007-09-104-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24422 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+0
| | | | | | | | | | win32.c:2102: warning: redundant redeclaration of 'LoadResource' wine/winbase.h:1678: warning: previous declaration of 'LoadResource' was here win32.c:2247: warning: redundant redeclaration of 'MODULE32_LookupHMODULE' wine/module.h:143: warning: previous declaration of 'MODULE32_LookupHMODULE' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24421 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-1/+0
| | | | | | | | win32.c: In function 'expGetSystemInfo': win32.c:935: warning: unused variable 'regs' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24420 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-1/+0
| | | | | | | | win32.c:960: warning: redundant redeclaration of 'gCpuCaps' ../cpudetect.h:53: warning: previous declaration of 'gCpuCaps' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24419 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-3/+0
| | | | | | | | | | pe_image.c:70: warning: redundant redeclaration of 'LookupExternal' win32.h:41: warning: previous declaration of 'LookupExternal' was here pe_image.c:71: warning: redundant redeclaration of 'LookupExternalByName' win32.h:42: warning: previous declaration of 'LookupExternalByName' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24418 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for:voroshil2007-09-101-2/+2
| | | | | | | dshow/mediatype.c:37: warning: suggest explicit braces to avoid ambiguous 'else' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24417 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for:voroshil2007-09-101-6/+6
| | | | | | | | | | | dshow/mediatype.c:47: warning: format '%02d' expects type 'int', but argument 5 has type 'long unsigned int' dshow/mediatype.c:74: warning: format '%d' expects type 'int', but argument 4 has type 'DWORD' dshow/mediatype.c:77: warning: format '%d' expects type 'int', but argument 4 has type 'DWORD' dshow/mediatype.c:84: warning: format '%d' expects type 'int', but argument 4 has type 'long int' dshow/mediatype.c:85: warning: format '%d' expects type 'int', but argument 4 has type 'long int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24416 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper fix for:voroshil2007-09-101-2/+1
| | | | | | | | dshow/mediatype.c:52: warning: implicit declaration of function 'printf' dshow/mediatype.c:52: warning: incompatible implicit declaration of built-in function 'printf' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24415 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix silly typo.diego2007-09-101-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24414 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-1/+1
| | | | | | | dmo/dmo.c:118: warning: unused variable 'vi' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24413 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+0
| | | | | | | | | | dmo/DMO_VideoDecoder.c: In function 'DMO_VideoDecoder_DecodeInternal': dmo/DMO_VideoDecoder.c:299: warning: unused variable 'ptr' dmo/DMO_VideoDecoder.c: In function 'DMO_VideoDecoder_SetDestFmt': dmo/DMO_VideoDecoder.c:366: warning: unused variable 'stoped' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24412 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-0/+1
| | | | | | | | dshow/mediatype.c:46: warning: implicit declaration of function 'printf' dshow/mediatype.c:46: warning: incompatible implicit declaration of built-in function 'printf' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24411 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-1/+0
| | | | | | | | | dshow/DS_VideoDecoder.c: In function 'DS_VideoDecoder_StartInternal': dshow/DS_VideoDecoder.c:268: warning: unused variable 'props1' dshow/DS_VideoDecoder.c:268: warning: unused variable 'props' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24410 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-1/+0
| | | | | | | | | dshow/DS_AudioDecoder.c: In function 'DS_AudioDecoder_Open': dshow/DS_AudioDecoder.c:98: warning: unused variable 'props1' dshow/DS_AudioDecoder.c:98: warning: unused variable 'props' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24409 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-4/+4
| | | | | | | | | | | | elfdll.c: In function 'ELFDLL_CreateModref': elfdll.c:177: warning: unused variable 'len' elfdll.c:175: warning: unused variable 'pe_import' elfdll.c:174: warning: unused variable 'dir' elfdll.c: In function 'ELFDLL_LoadLibraryExA': elfdll.c:244: warning: unused variable 'image' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24408 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+0
| | | | | | | | | | registry.c: In function 'insert_reg_value': registry.c:266: warning: unused variable 't' registry.c: In function 'RegSetValueExA': registry.c:491: warning: unused variable 't' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24407 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+2
| | | | | | | | | | resource.c: In function 'RES_SizeofResource': resource.c:111: warning: unused variable 'hRsrc32' resource.c: In function 'RES_LoadResource': resource.c:157: warning: unused variable 'hRsrc32' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24406 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-7/+2
| | | | | | | | | | | | | | | | | | | | win32.c: In function 'expCreateSemaphoreA': win32.c:1751: warning: unused variable 'pp' win32.c: In function 'expGetStartupInfoA': win32.c:2187: warning: unused variable 'i' win32.c: In function 'expLoadLibraryA': win32.c:2298: warning: unused variable 'i' win32.c: In function 'expWritePrivateProfileStringA': win32.c:2786: warning: unused variable 'size' win32.c: In function 'expGetSystemTimeAsFileTime': win32.c:3136: warning: unused variable 'local_tm' win32.c: In function 'expGetEnvironmentVariableA': win32.c:3150: warning: unused variable 'p' win32.c: In function 'LookupExternalByName': win32.c:5371: warning: unused variable 'answ' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24405 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-1/+0
| | | | | | | | ext.c: At top level: ext.c:316: warning: 'mapping_size' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24404 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+1
| | | | | | | | | | ext.c: In function 'HeapAlloc': ext.c:86: warning: unused variable 'i' ext.c: In function 'VirtualAlloc': ext.c:440: warning: unused variable 'fd' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24403 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-4/+3
| | | | | | | | | | | | | | module.c: In function 'MODULE_DllProcessAttach': module.c:217: warning: unused variable 'i' module.c: In function 'MODULE_DllProcessDetach': module.c:278: warning: unused variable 'l' module.c: In function 'MODULE_LoadLibraryExA': module.c:305: warning: unused variable 'i' module.c: In function 'report_func_ret': module.c:948: warning: unused variable 'i' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24402 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-3/+1
| | | | | | | | | | | | pe_image.c: In function 'fixup_imports': pe_image.c:290: warning: unused variable 'wmImp' pe_image.c: In function 'PE_LoadImage': pe_image.c:445: warning: unused variable 'bhfi' pe_image.c: In function 'PE_CreateModule': pe_image.c:706: warning: unused variable 'result' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24401 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+1
| | | | | | | | | | afl.c: In function 'acmDriverOpen': afl.c:196: warning: unused variable 'hdrv' afl.c: In function 'acmStreamOpen': afl.c:441: warning: unused variable 'drv_tag' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24400 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-1/+0
| | | | | | | | driver.c: In function 'DrvOpen': driver.c:152: warning: unused variable 'i' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24399 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-0/+1
| | | | | | | | sub.c: In function 'vo_update_text_teletext': sub.c:293: warning: implicit declaration of function 'GetTimer' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24398 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-102-1/+1
| | | | | | | | cfg-common.h:347: warning: redundant redeclaration of 'vd_use_slices' libmpcodecs/vd.h:19: warning: previous declaration of 'vd_use_slices' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24397 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert the part of r24389 that broke compilation of mencoder.cehoyos2007-09-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24396 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24386: move lavc option out of XviD section, to lavc sectionvoroshil2007-09-101-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:voroshil2007-09-101-1/+0
| | | | | |