af_hrtf: Fix out-of-range read.

Based on patch by Yuriy Kaminskiy [yumkam gmail].

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37330 b3059339-0415-0410-9bf9-f77b7e298cf2
stream.c: Fix stream_reset to not change s->pos.

Changing s->pos conflicts with the stream_seek optimization
in r37309, which in turn is needed for proper autodetection
with non-seekable inputs.
Thanks to Ivan for debugging the issue.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37331 b3059339-0415-0410-9bf9-f77b7e298cf2
demux_mpg: Fix MPEG-2 with many slices misdetected as H.264.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37332 b3059339-0415-0410-9bf9-f77b7e298cf2
demux_mpg: reset eof flags more consistently.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37333 b3059339-0415-0410-9bf9-f77b7e298cf2
demux_mpg: reset "synced" after seek.

Fixes issues that an originally found audio stream suddenly
stops working.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37334 b3059339-0415-0410-9bf9-f77b7e298cf2
demux_mpg: remove pointless code that causes us to lose initial audio frames.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37335 b3059339-0415-0410-9bf9-f77b7e298cf2
vf_screenshot: print message after file was written.

This is easier to process from programs using slave mode.
Patch by Anton Sviridenko [anton corp.bluecherry net]

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37336 b3059339-0415-0410-9bf9-f77b7e298cf2
vf_screenshot: do not silently create empty screenshot files.

On encode error, print a message and don't open the file.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37337 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: fix that linking with --enable-static fails on OS/2

On OS/2, passing -static to gcc fails at linking time because linking
statically against libc runtime is prevented on purpose. To avoid
this, pass -static to a linker directly.
And ensure that $ld_static should be at first in a library list
because it has effects only libraries after it.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37338 b3059339-0415-0410-9bf9-f77b7e298cf2
stream_vstream: Do not use already formatted string as format string for mp_msg

Make it possible to build with -Werror=format-security

Patch-by: Miguel A. Colón Vélez >debian.micove gmail com<


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37339 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: filter out nvenc encoder

This avoids breaking build

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37340 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: GCC: Add -Werror=format-security

Seems like a good idea security-wise. Also distributions
are starting to add that flag by default when building
their packages.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37341 b3059339-0415-0410-9bf9-f77b7e298cf2
linux: controlled CreateFile() in win32 loader

it allows e.g. two pass encoding using vp6vfw.dll
af: winamp dsp audio filter
af: runtime equalizer
win32: added vo native directshow decoder
make fontconfig spam while creating font cache
win32: color console
audio: disable muting audio at exit on win32, mplayer somehow crashes
win32: color term osd