ffmpeg: change depreciated functions avcodev_alloc/free_frame