// override av_image_fill_arrays() for planar types
ipic->data[0] = frame->get_y(); ipic->linesize[0] = ysz;
ipic->data[1] = frame->get_u(); ipic->linesize[1] = usz;
// override av_image_fill_arrays() for planar types
ipic->data[0] = frame->get_y(); ipic->linesize[0] = ysz;
ipic->data[1] = frame->get_u(); ipic->linesize[1] = usz;