loco: fix rgba on big-endian

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
interplayvideo: Free previous frames on resolution changes.

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>