Hi everyone, In encoder.c you are doing: stats->type = XVID_TYPE_NOTHING; But stats might be NULL. It's only reproducible when: ! XVID_GLOBAL_PACKED max_bframes > 0 stats = NULL The fix is attached. Best Regards. -- Felipe Contreras