Fix configure output: relocatable/PIE is autodetected.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36839 b3059339-0415-0410-9bf9-f77b7e298cf2
Switch to refcounted API since the old ones have memleaks.

A fixable one due to the "non-refcounting" API in fact still
using reference counting for the qp tables, and a probably
unfixable one (unless we add hacks MPlayer side) due to the
sidedata being copied.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36840 b3059339-0415-0410-9bf9-f77b7e298cf2
Switch to av_frame_get_qp_table API.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36841 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix vstats, coded_frame is always NULL so use decoded frame instead.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36842 b3059339-0415-0410-9bf9-f77b7e298cf2
Use calloc instead of malloc+memset.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36843 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove pointless casts and obfuscated array indexing.

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