These are not changed in the function, nor in the dependent decoders.
---
 libavcodec/intrax8.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libavcodec/intrax8.c b/libavcodec/intrax8.c
index ffb40b6..2613bf7 100644
--- a/libavcodec/intrax8.c
+++ b/libavcodec/intrax8.c
@@ -800,9 +800,6 @@ int ff_intrax8_decode_picture(IntraX8Context *const w, 
Picture *pict,
     }
     x8_reset_vlc_tables(w);
 
-    s->resync_mb_x = 0;
-    s->resync_mb_y = 0;
-
     for (w->mb_y = 0; w->mb_y < w->mb_height * 2; w->mb_y++) {
         x8_init_block_index(w, w->frame);
         mb_xy = (w->mb_y >> 1) * (w->mb_width + 1);
@@ -844,7 +841,7 @@ int ff_intrax8_decode_picture(IntraX8Context *const w, 
Picture *pict,
     }
 
 error:
-    ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y,
+    ff_er_add_slice(&s->er, 0, 0,
                     (w->mb_x >> 1) - 1, (w->mb_y >> 1) - 1,
                     ER_MB_END);
     return 0;
-- 
2.7.0

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to