Changed PIX_FMT_YUV444P10LE to AV_PIX_FMT_YUV444P10LE for the av_image_alloc call. But it still segfaults.