- Units::totext(tc, asset->tcstart / asset->frame_rate,
- TIME_HMSF, asset->sample_rate, asset->frame_rate);
+ if( asset )
+ Units::totext(tc, asset->tcstart / asset->frame_rate,
+ TIME_HMSF, asset->sample_rate, asset->frame_rate);
+ else
+ strcpy(tc, "0:00:00:00");