add memory allocation for screen content
Merge pull request #662 from ruil2/enc_update2

    add memory allocation for screen content