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. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18418 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
Showing
Please register or sign in to comment