1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00
Commit Graph

24406 Commits

Author SHA1 Message Date
voroshil
903cbd2fc7 Fix for:
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
2007-09-10 18:27:45 +00:00
voroshil
169a837b18 Fix for a lot of
"'packed' attribute ignored for field of type 'BYTE'" warnings.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24424 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 18:07:25 +00:00
voroshil
dcc2e2e5ea Implementation of tv:// driver autodetection.
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
2007-09-10 17:09:35 +00:00
diego
36a28b6f50 cosmetics: Add comments to some #endif preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24422 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 16:17:13 +00:00
diego
9489e9dd4b warning fixes:
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
2007-09-10 15:38:11 +00:00
diego
183b4d6fea warning fix:
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
2007-09-10 15:33:40 +00:00
diego
bedf84a5e0 warning fix:
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
2007-09-10 15:32:11 +00:00
diego
bbe0b8ce6d warning fixes:
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
2007-09-10 15:27:23 +00:00
voroshil
abb5ffc65d Fix for:
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
2007-09-10 14:43:19 +00:00
voroshil
a08444432e Fix for:
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
2007-09-10 14:29:44 +00:00
voroshil
8228670a2e Proper fix for:
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
2007-09-10 13:50:03 +00:00
diego
4b3a9ce83e cosmetics: Fix silly typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24414 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 13:30:22 +00:00
diego
0c4d465c19 warning fix:
dmo/dmo.c:118: warning: unused variable 'vi'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24413 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 13:29:14 +00:00
diego
a6bf35473f warning fixes:
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
2007-09-10 13:28:00 +00:00
diego
c85832df25 warning fix:
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
2007-09-10 13:19:46 +00:00
diego
385c68cdee warning fixes:
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
2007-09-10 13:17:29 +00:00
diego
517a64c42e warning fixes:
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
2007-09-10 13:16:44 +00:00
diego
0865edbc5d warning fixes:
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
2007-09-10 13:10:44 +00:00
diego
3f522888be warning fixes:
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
2007-09-10 13:08:46 +00:00
diego
ca743e59fd warning fixes:
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
2007-09-10 13:06:54 +00:00
diego
5277e4f075 warning fixes:
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
2007-09-10 13:03:20 +00:00
diego
286467904a warning fix:
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
2007-09-10 12:54:32 +00:00
diego
f3cb7097cf warning fixes:
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
2007-09-10 12:51:26 +00:00
diego
ffe4478efe warning fixes:
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
2007-09-10 11:41:26 +00:00
diego
f45eb00c5d warning fixes:
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
2007-09-10 11:34:58 +00:00
diego
284037012e warning fixes:
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
2007-09-10 11:31:51 +00:00
diego
9ac38fa4c6 warning fix:
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
2007-09-10 11:28:55 +00:00
diego
02436252ca warning fix:
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
2007-09-10 11:10:50 +00:00
diego
7415e7aad1 warning fix:
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
2007-09-10 10:57:40 +00:00
cehoyos
2ead315ddc Revert the part of r24389 that broke compilation of mencoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24396 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 08:47:55 +00:00
voroshil
ffe03a2f2a r24386: move lavc option out of XviD section, to lavc section
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24395 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 05:37:37 +00:00
voroshil
dcfd44de77 Fix warnings:
cfg-common.h:386: warning: redundant redeclaration of 'audio_stream'
stream/stream.h:301: warning: previous declaration of 'audio_stream' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24394 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:13:13 +00:00
voroshil
ae9775bd1d Fix warnings:
cfg-mplayer.h:43: warning: redundant redeclaration of 'mDisplayName'
libvo/x11_common.h:30: warning: previous declaration of 'mDisplayName' was here
cfg-mplayer.h:46: warning: redundant redeclaration of 'vo_fstype_list'
libvo/x11_common.h:28: warning: previous declaration of 'vo_fstype_list' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24393 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:10:59 +00:00
voroshil
255c174e41 Fix warnings:
cfg-common.h:509: warning: redundant redeclaration of 'fribidi_charset'
subreader.h:64: warning: previous declaration of 'fribidi_charset' was here
cfg-common.h:510: warning: redundant redeclaration of 'flip_hebrew'
subreader.h:65: warning: previous declaration of 'flip_hebrew' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24392 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:10:18 +00:00
voroshil
30699fd214 Fix warnings:
cfg-common.h:340: warning: redundant redeclaration of 'quiet'
mplayer.c:85: warning: previous definition of 'quiet' was here
cfg-common.h:341: warning: redundant redeclaration of 'verbose'
mp_msg.h:6: warning: previous declaration of 'verbose' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24391 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:09:49 +00:00
voroshil
bfbc21e736 fix warnings:
cfg-common.h:399: warning: redundant redeclaration of 'edl_filename'
edl.h:23: warning: previous declaration of 'edl_filename' was here
cfg-common.h:400: warning: redundant redeclaration of 'edl_output_filename'
edl.h:24: warning: previous declaration of 'edl_output_filename' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24390 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:09:08 +00:00
voroshil
69b3616784 Fix warnings:
cfg-common.h:349: warning: redundant redeclaration of 'vd_use_slices'
libmpcodecs/vd.h:19: warning: previous declaration of 'vd_use_slices' was here
cfg-common.h:350: warning: redundant redeclaration of 'divx_quality'
libmpcodecs/dec_video.h:23: warning: previous declaration of 'divx_quality' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24389 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:08:23 +00:00
voroshil
e02230854c Fix warnings:
cfg-mplayer.h:9: warning: redundant redeclaration of 'noconsolecontrols'
mplayer.c:191: warning: previous definition of 'noconsolecontrols' was here
cfg-mplayer.h:22: warning: redundant redeclaration of 'volstep'
mplayer.c:566: warning: previous definition of 'volstep' was here
cfg-mplayer.h:37: warning: redundant redeclaration of 'osd_level'
mplayer.c:235: warning: previous definition of 'osd_level' was here
cfg-mplayer.h:82: warning: redundant redeclaration of 'use_filedir_conf'
mplayer.c:370: warning: previous declaration of 'use_filedir_conf' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24388 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:07:21 +00:00
Gabrov
435954540b synced with r24386
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24387 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 16:01:02 +00:00
gpoirier
80b27e331e move lavc option out of XviD section, to lavc section
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24386 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 15:10:44 +00:00
voroshil
848fa26ffa Fix redundant declaration warnings for variables already defined
in libvo/video_out.h



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24385 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 15:05:33 +00:00
voroshil
277dc43515 Option adevice is implemented for all tv:// drivers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24384 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 14:59:07 +00:00
diego
4e7f09313d Add comments to some #endif preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24383 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 13:41:45 +00:00
Gabrov
750a777a0a synced with r24381
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24382 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 12:19:57 +00:00
diego
70fdab9d3a Move vo_3dfx check after vo_dga check, vo_3dfx needs -lXxf86dga to link.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24381 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 10:18:18 +00:00
diego
80c3412309 warning fix:
libmpcodecs/vf_divtc.c:206: warning: 'cmp' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24380 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 09:59:50 +00:00
diego
7bfa03ac43 warning fix:
libmpcodecs/ae_lavc.c:135: warning: 'lavc_find_atag' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24379 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 09:57:36 +00:00
diego
0723947265 warning fix:
demux_mov.c: In function 'mov_check_file':
demux_mov.c:504: warning: label 'skip_chunk' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24378 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 09:54:57 +00:00
diego
8cbcc28e06 warning fix:
demux_lmlm4.c: In function 'demux_lmlm4_fill_buffer':
demux_lmlm4.c:215: warning: label 'hdr' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24377 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 09:48:51 +00:00
diego
59d308823c warning fix:
ao_mpegpes.c: In function 'init':
ao_mpegpes.c:230: warning: label 'retry' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24376 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 09:44:13 +00:00