ffmpeg解码得到的AVFrame里面有data数组和linesize数组,data[0]是Y平面数据,其大小是linesize[0],data[1]是U,大小linesize[1],data[2]是V平面数据大小linesize[2],