X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fi965_decoder_utils.c;h=e80749c5d9de895ee47da29417a49f1a6cb9c8b7;hb=7b6523cb9d63e3cfcc238dfd0d5f4fc323ca59e2;hp=064074f1610c275b0235cb84247a0d965bec6e54;hpb=a618893863e780475f1b531d27d4dc0cd82c4a15;p=platform%2Fupstream%2Flibva-intel-driver.git diff --git a/src/i965_decoder_utils.c b/src/i965_decoder_utils.c index 064074f..e80749c 100644 --- a/src/i965_decoder_utils.c +++ b/src/i965_decoder_utils.c @@ -427,7 +427,7 @@ intel_update_avc_frame_store_index(VADriverContextP ctx, * Sometimes a dummy frame comes from the upper layer library, call i965_check_alloc_surface_bo() * to ake sure the store buffer is allocated for this reference frame */ - i965_check_alloc_surface_bo(ctx, obj_surface, 1, VA_FOURCC('N', 'V', '1', '2'), SUBSAMPLE_YUV420); + i965_check_alloc_surface_bo(ctx, obj_surface, 1, VA_FOURCC_NV12, SUBSAMPLE_YUV420); slot_found = 0; frame_idx = -1;