mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-05 13:09:31 +00:00
Fix VP8 broken with avpf
This commit is contained in:
parent
6fa436a10f
commit
998b21b276
2 changed files with 20 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ $(BUILDER_SRC_DIR)/$(libvpx_dir)/patched.stamp:
|
|||
&& touch $@
|
||||
|
||||
|
||||
$(BUILDER_BUILD_DIR)/$(libvpx_dir)/config.mk:
|
||||
$(BUILDER_BUILD_DIR)/$(libvpx_dir)/config.mk: $(BUILDER_SRC_DIR)/$(libvpx_dir)/patched.stamp
|
||||
mkdir -p $(BUILDER_BUILD_DIR)/$(libvpx_dir)
|
||||
cd $(BUILDER_BUILD_DIR)/$(libvpx_dir)/ \
|
||||
&& host_alias=${host} . $(BUILDER_SRC_DIR)/build/$(config_site) \
|
||||
|
|
|
|||
19
submodules/build/builders.d/libvpx.patch
Normal file
19
submodules/build/builders.d/libvpx.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
diff --git a/vp8/vp8_dx_iface.c b/vp8/vp8_dx_iface.c
|
||||
index 5aa274d..9eee377 100644
|
||||
--- a/vp8/vp8_dx_iface.c
|
||||
+++ b/vp8/vp8_dx_iface.c
|
||||
@@ -327,14 +327,6 @@ static vpx_codec_err_t vp8_decode(vpx_codec_alg_priv_t *ctx,
|
||||
unsigned int resolution_change = 0;
|
||||
unsigned int w, h;
|
||||
|
||||
- if (data == NULL && data_sz == 0) {
|
||||
- ctx->flushed = 1;
|
||||
- return VPX_CODEC_OK;
|
||||
- }
|
||||
-
|
||||
- /* Reset flushed when receiving a valid frame */
|
||||
- ctx->flushed = 0;
|
||||
-
|
||||
/* Update the input fragment data */
|
||||
if(update_fragments(ctx, data, data_sz, &res) <= 0)
|
||||
return res;
|
||||
Loading…
Add table
Reference in a new issue