comparison error_resilience.c @ 9386:a673af90ed8f libavcodec

Loop up to MAX_THREADS instead of h->s.avctx->thread_count to free the thread contexts, this avoids a crash when freeing the H.264 parser context introduced in r18406, since h->s.avctx is NULL there.
author reimar
date Fri, 10 Apr 2009 14:30:04 +0000
parents 7dfbd59b04e5
children 2c2827f792a1
comparison
equal deleted inserted replaced
9385:6cd9e789dd9e 9386:a673af90ed8f