AVFrame wrapper, ObjectWrapper memory allocated bug fix