diff options
Diffstat (limited to 'encoder/svc/isvce_encode_header.h')
-rw-r--r-- | encoder/svc/isvce_encode_header.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/encoder/svc/isvce_encode_header.h b/encoder/svc/isvce_encode_header.h index c443ed0..d7c9f8c 100644 --- a/encoder/svc/isvce_encode_header.h +++ b/encoder/svc/isvce_encode_header.h @@ -103,12 +103,12 @@ * in case of errors ****************************************************************************** */ -#define RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel) \ - if(ps_entropy->i4_error_code != IH264E_SUCCESS) \ - { \ - DATA_SYNC(); \ - ps_codec->au4_entropy_thread_active[ctxt_sel] = 0; \ - return ps_entropy->i4_error_code; \ +#define RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel) \ + if(ps_entropy->i4_error_code != IH264E_SUCCESS) \ + { \ + DATA_SYNC(); \ + ps_codec->ae_entropy_thread_exit_state[ctxt_sel] = ERRONEOUS_EXIT; \ + return ps_entropy->i4_error_code; \ } /*****************************************************************************/ |