Rename parameter.

It isn't the number of items but the last index in use.

Rewrite the condition in order ro reflect this.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37107 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove braces.

As a result, move up variable declarations.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37108 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Add blank line and adjust indent.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37109 b3059339-0415-0410-9bf9-f77b7e298cf2
Simplify string termination.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37110 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename variable.

This should make its purpose more obvious.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37111 b3059339-0415-0410-9bf9-f77b7e298cf2
Change comment into doxygen comment.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37112 b3059339-0415-0410-9bf9-f77b7e298cf2
Add doxygen comments.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37113 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix some compilation errors in Win32 GUI.

These have crept in by absent-minded copy and paste.

Patch by Stephen Sheldon, sfsheldo gmail com.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37114 b3059339-0415-0410-9bf9-f77b7e298cf2
Make TranslateFilename() static.

It only has file scope.

This avoids a compiler warning.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37115 b3059339-0415-0410-9bf9-f77b7e298cf2
Rename guiItem's members pwidth and pheight.

Add a 'b' to indicate that they refer to the potmeter button.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37116 b3059339-0415-0410-9bf9-f77b7e298cf2
Support FFmpeg's VoxWare Metasound decoder.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37117 b3059339-0415-0410-9bf9-f77b7e298cf2
Change order of includes to fix compilation error.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37118 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Remove tabs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37119 b3059339-0415-0410-9bf9-f77b7e298cf2
Add a file for miscellaneous auxiliary functions.

Move fgetstr() from string.c there.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37120 b3059339-0415-0410-9bf9-f77b7e298cf2
Check potmeter and pimage default value in skin configuration file.

The value has to be in the range of 0 to 100.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37121 b3059339-0415-0410-9bf9-f77b7e298cf2
Constrain an item's value to be in the range of 0 to 100.

Add function contrain() and replace checking the bounds by it.

Add it for mouse wheeling, too, where it has been missing so far.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37122 b3059339-0415-0410-9bf9-f77b7e298cf2
Don't use item_hpotmeter() for vpotmeter parsing.

Add a new function parse_potmeter()
as a common parser for all potmeters.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37123 b3059339-0415-0410-9bf9-f77b7e298cf2
Make the current item string as currItem global.

Utilize this variable instead of using string constants.

This allows naming the particular potmeter now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37124 b3059339-0415-0410-9bf9-f77b7e298cf2
Add support for synopsys design-ware ARC processors.

Patch by Wayne Ren <Wei.Ren at synopsys com>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37125 b3059339-0415-0410-9bf9-f77b7e298cf2
Add example/current default Coverity compile options.

Suggestions for improvements welcome.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37126 b3059339-0415-0410-9bf9-f77b7e298cf2