vf_screenshot: Switch to avcodec_encode_video2 API.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36849 b3059339-0415-0410-9bf9-f77b7e298cf2
vf_screenshot: use calloc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36850 b3059339-0415-0410-9bf9-f77b7e298cf2
vf_screenshot: use av_fast_malloc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36851 b3059339-0415-0410-9bf9-f77b7e298cf2
vf_screenshot: Simplify repeat screenshot handling logic.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36852 b3059339-0415-0410-9bf9-f77b7e298cf2
vf_screenshot: Fix memory leak on resolution/aspect changes.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36853 b3059339-0415-0410-9bf9-f77b7e298cf2
vf_screenshot: remove pointless cast.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36854 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_aa: Move variables to appropriate scope, remove unused ones.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36855 b3059339-0415-0410-9bf9-f77b7e298cf2
ao_esd: remove condition that must always be true.

It caused warnings about potentially uninitialized variables.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36856 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_dfbmga: fix pointer cast size warnings.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36857 b3059339-0415-0410-9bf9-f77b7e298cf2
Avoid many pointer cast warnings.

Fixes most occurrences of
"cast from pointer to integer of different size"
and
"cast to pointer from integer of different size"
warnings.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36858 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove pointless assignment and variable.

A volatile read will/should not be optimized away regardless
of whether the result is assigned to a dummy variable or not.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36859 b3059339-0415-0410-9bf9-f77b7e298cf2
vidix/s3: Fix loads of 'void *' used in arithmetic warnings.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36860 b3059339-0415-0410-9bf9-f77b7e298cf2
m_option, vf_scale: Add some missing const.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36861 b3059339-0415-0410-9bf9-f77b7e298cf2
demuxer.c: Use proper format string to print pointer.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36862 b3059339-0415-0410-9bf9-f77b7e298cf2
spudec: fix spudec_apply_palette_crop return value.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36863 b3059339-0415-0410-9bf9-f77b7e298cf2
m_struct: use offsetof instead of a custom hack.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36864 b3059339-0415-0410-9bf9-f77b7e298cf2
av_helpers: avoid deprecated API.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36865 b3059339-0415-0410-9bf9-f77b7e298cf2
ad_ffmpeg: avoid deprecated request_channels.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36866 b3059339-0415-0410-9bf9-f77b7e298cf2
ad_ffmpeg: avoid deprecated avcodec_alloc_frame.

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