Avoid using CSettings to create a blank guisettings.xml for a fresh profile.  This causes a segmentation fault as documented in issue #14747.

As the file is created 'fresh' on first login of the profile, there seems to be no consequence in not creating before hand.
Fix compilation error due to missing include.

This fixes compilation error due to missing header.

 SDL_anigif.cpp: In function ‘int AG_LoadGIF_RW(SDL_RWops*, AG_Frame*, int)’:
 SDL_anigif.cpp:293:37: error: ‘malloc’ was not declared in this scope
   gd = (gifdata*)malloc( sizeof(*gd) );
                                     ^
 SDL_anigif.cpp:418:11: error: ‘free’ was not declared in this scope
   free( gd );
           ^
 make: *** [TexturePacker] Error 1
Fix compilation error related to removed structure field by ffmpeg.

ffmpeg removed reference_dts field in struct AVStream.

Related ffmpeg commit:
  http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=2ba68dd044ca8fc591139c05563840f546a9c0c0
FIX: TAB 3D fixup for ios & libstagefright
[pvr] fix: hide loading pvr data progress dialog if error occured in pvr clients
[confluence] adds info area for current selected epg item
[info] factor out parsing of [] so it can be used to parse other strings
[info] [] parsing can use the new ReplaceString() function
[info] adds [] to info labels, allowing skinners to specify a number. Required as by default numbers are taken as a reference into localized strings.  In future, this will be dropped in favour of [] only being used as this will benefit translation
[rbp/omxplayer] Cosmetic: Avoid DVDPlayer in logging message

It makes people incorrectly think DVDPlayer has been running
[spectrum] cosmetic: Use static where appropriate
[spectrum] Draw spectrum as a single object

glDrawElements is called 256 times per frame, once for each bar. It is more efficient to batch up larger blocks.
This change draws the specrum with a single glDrawElements call.

Looking at visualisation in full screen mode, it used to top out at 75 fps. With this PR it can hit 125 fps.
[release] version bump to 13.0 alpha12
[rbp/omxplayer] When reencoding thumbnails preserve orientation

Currently reencoded thumbnails are displayed without original orientation flag applied.
However we can write the Orientation field of IFD0 data, which means the cached thumbnail will be displayed correctly when decoded
revert most of cde2285
droid: do not try to diddle permissions if we are not an aml device
droid, disable amcodec
droid: fix build
Merge pull request #3933 from MartijnKaijser/a12

[release] version bump to 13.0 alpha12
videolibrary: fix season flattening logic after e3d6b047db849af39641105af96a86e24e73a9f0