summaryrefslogtreecommitdiffstats
path: root/decoder/ih264d_thread_parse_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/ih264d_thread_parse_decode.c')
-rw-r--r--decoder/ih264d_thread_parse_decode.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/decoder/ih264d_thread_parse_decode.c b/decoder/ih264d_thread_parse_decode.c
index be3cb01..1c9eb68 100644
--- a/decoder/ih264d_thread_parse_decode.c
+++ b/decoder/ih264d_thread_parse_decode.c
@@ -582,13 +582,9 @@ WORD32 ih264d_decode_slice_thread(dec_struct_t *ps_dec /* Decoder parameters */
void ih264d_decode_picture_thread(dec_struct_t *ps_dec )
{
- volatile WORD32 i4_err_status;
-
ithread_set_name("ih264d_decode_picture_thread");
-
-
// run the loop till all slices are decoded
while(1)
@@ -644,13 +640,6 @@ void ih264d_decode_picture_thread(dec_struct_t *ps_dec )
DEBUG_THREADS_PRINTF("Waiting for next slice or end of frame\n");
NOP(32);
- if(i4_err_status != 0)
- {
- /*In the case of error set decode Mb number ,so that the
- parse thread does not wait because of mb difference being
- greated the 32*/
- ps_dec->cur_dec_mb_num = ps_dec->u2_cur_mb_addr - 1;
- }
}
DEBUG_THREADS_PRINTF("Got next slice/end of frame signal \n ");