diff h264_mp4toannexb_bsf.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 2acf0ae7b041
children 31a033fae70e
line wrap: on
line diff