make "size" variable in avpicture_alloc signed, since avpicture_get_size