summaryrefslogtreecommitdiff
path: root/src/i965_decoder_utils.c
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2014-03-20 12:08:51 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2014-04-23 14:20:11 +0800
commit7b6523cb9d63e3cfcc238dfd0d5f4fc323ca59e2 (patch)
tree85177112a0aa80c6800bf84e46afc198034f10d4 /src/i965_decoder_utils.c
parenta618893863e780475f1b531d27d4dc0cd82c4a15 (diff)
downloadlibva-intel-driver-7b6523cb9d63e3cfcc238dfd0d5f4fc323ca59e2.tar.gz
libva-intel-driver-7b6523cb9d63e3cfcc238dfd0d5f4fc323ca59e2.tar.bz2
libva-intel-driver-7b6523cb9d63e3cfcc238dfd0d5f4fc323ca59e2.zip
Use the VA_FOURCC_ABCD constant to replace the VA_FOURCC(A,B,C,D)
This is helpful to avoid the typo error when using VA_FOURCC(A, B, C, D). Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit acea969011bceee36a57fe2c0e4ee96c0c5e79c7)
Diffstat (limited to 'src/i965_decoder_utils.c')
-rw-r--r--src/i965_decoder_utils.c2
1 files changed, 1 insertions, 1 deletions
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;