projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
libvpx
/
source
/
libvpx
/
vpx
/
src
/
vpx_encoder.c
diff --git
a/src/third_party/libvpx/source/libvpx/vpx/src/vpx_encoder.c
b/src/third_party/libvpx/source/libvpx/vpx/src/vpx_encoder.c
index
778ed2f
..
23742c8
100644
(file)
--- a/
src/third_party/libvpx/source/libvpx/vpx/src/vpx_encoder.c
+++ b/
src/third_party/libvpx/source/libvpx/vpx/src/vpx_encoder.c
@@
-70,7
+70,7
@@
vpx_codec_err_t vpx_codec_enc_init_multi_ver(vpx_codec_ctx_t *ctx,
vpx_codec_flags_t flags,
vpx_rational_t *dsf,
int ver) {
vpx_codec_flags_t flags,
vpx_rational_t *dsf,
int ver) {
- vpx_codec_err_t res =
0
;
+ vpx_codec_err_t res =
VPX_CODEC_OK
;
if (ver != VPX_ENCODER_ABI_VERSION)
res = VPX_CODEC_ABI_MISMATCH;
if (ver != VPX_ENCODER_ABI_VERSION)
res = VPX_CODEC_ABI_MISMATCH;
@@
-207,7
+207,7
@@
vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx,
unsigned long duration,
vpx_enc_frame_flags_t flags,
unsigned long deadline) {
unsigned long duration,
vpx_enc_frame_flags_t flags,
unsigned long deadline) {
- vpx_codec_err_t res =
0
;
+ vpx_codec_err_t res =
VPX_CODEC_OK
;
if (!ctx || (img && !duration))
res = VPX_CODEC_INVALID_PARAM;
if (!ctx || (img && !duration))
res = VPX_CODEC_INVALID_PARAM;