mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 03:28:07 +00:00
19 lines
585 B
Diff
19 lines
585 B
Diff
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;
|