OSDN Git Service
(root)
/
android-x86
/
hardware-intel-common-vaapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1e2ac
)
Make the compiler happy
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 7 Apr 2017 06:10:53 +0000
(14:10 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 2 May 2017 02:44:50 +0000
(10:44 +0800)
To avoid the error:
src/gen6_mfc_common.c:487:1: error: control may reach end of non-void function [-Werror,-Wreturn-type]
}
^
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
src/gen6_mfc_common.c
patch
|
blob
|
history
diff --git
a/src/gen6_mfc_common.c
b/src/gen6_mfc_common.c
index
49015d0
..
e4dbfe4
100644
(file)
--- a/
src/gen6_mfc_common.c
+++ b/
src/gen6_mfc_common.c
@@
-482,6
+482,7
@@
int intel_mfc_brc_postpack(struct encode_state *encode_state,
return intel_mfc_brc_postpack_vbr(encode_state, encoder_context, frame_bits);
}
assert(0 && "Invalid RC mode");
+ return 1;
}
static void intel_mfc_hrd_context_init(struct encode_state *encode_state,