diff error_resilience.c @ 1827:fcbf31baa1af libavcodec

multithreaded mpeg2 decoding
author michael
date Mon, 23 Feb 2004 20:56:56 +0000
parents 07a484280a82
children e2501e6e7ff7
line wrap: on
line diff
--- a/error_resilience.c	Mon Feb 23 16:07:30 2004 +0000
+++ b/error_resilience.c	Mon Feb 23 20:56:56 2004 +0000
@@ -652,7 +652,7 @@
  
     s->error_status_table[start_xy] |= VP_START;
 
-    if(start_xy > 0){
+    if(start_xy > 0 && s->avctx->thread_count <= 1){
         int prev_status= s->error_status_table[ s->mb_index2xy[start_i - 1] ];
         
         prev_status &= ~ VP_START;