Fix compilation with latest FFmpeg.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35936 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: Move libav* component option handling into a second pass

This allows seeing help output immediately.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35937 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove useless casts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35938 b3059339-0415-0410-9bf9-f77b7e298cf2
Allow compiling without linking to a system-specific xvmc backend library.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35939 b3059339-0415-0410-9bf9-f77b7e298cf2
Add debug output for XvMCCreateContext() function parameters.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35940 b3059339-0415-0410-9bf9-f77b7e298cf2
Keep GUI history entries in order.

Currently, if an entry is to be added to the GUI history and this entry
is already existing, it is swapped with the top entry. This breaks
history sequence and is confusing.

Move this entry to the top while leaving the other ones in their order.

Patch by Hans-Dieter Kosch, hdkosch kabelbw de.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35941 b3059339-0415-0410-9bf9-f77b7e298cf2
Change return condition in fs_PersistantHistory().

Since it's only called by fsType fsVideoSelector,
the condition is pointless. Check subject instead.

As a result, strdup() can be used now.


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

Use gstrcmp() which can handle NULL.


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

The index can't be greater than FF_ARRAY_ELEMS(fsHistory).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35944 b3059339-0415-0410-9bf9-f77b7e298cf2
Simplify array index handling.

Calculate index by a simple decrementation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35945 b3059339-0415-0410-9bf9-f77b7e298cf2
Replace nfree() by free().

In the for-loop to follow, the entry will be immediately assigned
a new value, so no need to explicitly set it NULL first.

Additionally, relocate statement for cosmetic reasons.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35946 b3059339-0415-0410-9bf9-f77b7e298cf2
Use more appropriate types.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35947 b3059339-0415-0410-9bf9-f77b7e298cf2
Tables should be "static".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35948 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix compilation after r35947 (at least on some systems).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35949 b3059339-0415-0410-9bf9-f77b7e298cf2
Prefer stdint.h over inttypes.h if both work.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35950 b3059339-0415-0410-9bf9-f77b7e298cf2
Enable gcc atomics to fix compilation on Windows without pthreads.

Should also a avoid a potentially significant performance
regression for multithreaded decoding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35951 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove pointless defines that cause redefinition warnings
when compiling for Windows.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35952 b3059339-0415-0410-9bf9-f77b7e298cf2
win32: color console
af: winamp dsp audio filter
win32: display played filename in console/video window