libstagefright: unbreak compilation

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libstagefright: port to refcounted frames

Untested.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
avcodec/svq1enc: fix frame rotation code

Fixes Ticket2747

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