summaryrefslogtreecommitdiffstats
path: root/third_party/aom/aom/src/aom_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/aom/src/aom_codec.c')
-rw-r--r--third_party/aom/aom/src/aom_codec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/aom/aom/src/aom_codec.c b/third_party/aom/aom/src/aom_codec.c
index 512fd28196..316cc6fd23 100644
--- a/third_party/aom/aom/src/aom_codec.c
+++ b/third_party/aom/aom/src/aom_codec.c
@@ -170,6 +170,7 @@ void aom_internal_error(struct aom_internal_error_info *info,
void aom_internal_error_copy(struct aom_internal_error_info *info,
const struct aom_internal_error_info *src) {
assert(info != src);
+ assert(!src->setjmp);
if (!src->has_detail) {
aom_internal_error(info, src->error_code, NULL);