projects
/
platform
/
upstream
/
libva-intel-driver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the VA_FOURCC_ABCD constant to replace the VA_FOURCC(A,B,C,D)
[platform/upstream/libva-intel-driver.git]
/
src
/
i965_decoder_utils.c
diff --git
a/src/i965_decoder_utils.c
b/src/i965_decoder_utils.c
index
064074f
..
e80749c
100644
(file)
--- 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
*/
* 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;
slot_found = 0;
frame_idx = -1;