fix VideoFrame clone error

memory allocated by ffmpeg may has the different size with the data to
copy