diff libdiracenc.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 043574c5c153
children fdb318d12314
line wrap: on
line diff