projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b030d03
)
vp9_decodeframe,tile_worker_hook: relocate setjmp=1
author
James Zern
<jzern@google.com>
Fri, 5 May 2023 18:03:19 +0000
(11:03 -0700)
committer
James Zern
<jzern@google.com>
Fri, 5 May 2023 18:03:19 +0000
(11:03 -0700)
after the call to setjmp(); this is more correct and consistent with
other code.
Change-Id: I6d9bb8daad6a959bfe4f25484f9d6664b99da19e
vp9/decoder/vp9_decodeframe.c
patch
|
blob
|
history
diff --git
a/vp9/decoder/vp9_decodeframe.c
b/vp9/decoder/vp9_decodeframe.c
index
6eae41f
..
73420ba
100644
(file)
--- a/
vp9/decoder/vp9_decodeframe.c
+++ b/
vp9/decoder/vp9_decodeframe.c
@@
-2192,8
+2192,6
@@
static int tile_worker_hook(void *arg1, void *arg2) {
volatile int mi_row = 0;
volatile int n = tile_data->buf_start;
- tile_data->error_info.setjmp = 1;
-
if (setjmp(tile_data->error_info.jmp)) {
tile_data->error_info.setjmp = 0;
tile_data->xd.corrupted = 1;
@@
-2206,6
+2204,7
@@
static int tile_worker_hook(void *arg1, void *arg2) {
}
return 0;
}
+ tile_data->error_info.setjmp = 1;
tile_data->xd.corrupted = 0;