summaryrefslogtreecommitdiff
path: root/vp8/decoder/onyxd_if.c
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-07-10 12:36:28 -0700
committerJames Zern <jzern@google.com>2014-07-10 12:36:28 -0700
commit61c3338516af9daeb65eaa47e7fae8428facae5f (patch)
treecf8a325c895165a5a06e589aadee70858c2e12c9 /vp8/decoder/onyxd_if.c
parent1226d133df86e0bea6f89e9f0d86a77a8989999b (diff)
downloadlibvpx-61c3338516af9daeb65eaa47e7fae8428facae5f.tar
libvpx-61c3338516af9daeb65eaa47e7fae8428facae5f.tar.gz
libvpx-61c3338516af9daeb65eaa47e7fae8428facae5f.tar.bz2
libvpx-61c3338516af9daeb65eaa47e7fae8428facae5f.zip
call vp[89]_clear_system_state after longjmp
restore the environment post encode/decode failure Change-Id: I3c72e2260a616432eaf1f9545d4fb4d8e45cc7b0
Diffstat (limited to 'vp8/decoder/onyxd_if.c')
-rw-r--r--vp8/decoder/onyxd_if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vp8/decoder/onyxd_if.c b/vp8/decoder/onyxd_if.c
index 29fea616b..1d763b6bf 100644
--- a/vp8/decoder/onyxd_if.c
+++ b/vp8/decoder/onyxd_if.c
@@ -386,6 +386,7 @@ int vp8dx_receive_compressed_data(VP8D_COMP *pbi, size_t size,
decode_exit:
pbi->common.error.setjmp = 0;
+ vp8_clear_system_state();
return retcode;
}
int vp8dx_get_raw_frame(VP8D_COMP *pbi, YV12_BUFFER_CONFIG *sd, int64_t *time_stamp, int64_t *time_end_stamp, vp8_ppflags_t *flags)