h->current_metadata->format = 1;
h->current_metadata->channels = 3;
h->current_metadata->depth = 8;
- *info = RELOAD_OPTIONS;
+ if (info != NULL)
+ *info = RELOAD_OPTIONS;
} else {
h->current_metadata->format = 0;
h->current_metadata->channels = 1;
}
- *info |= RELOAD_PARAMS;
+ if (info != NULL)
+ *info |= RELOAD_PARAMS;
break;
case 4:
h->current_metadata->channels = 3;
h->current_metadata->depth = 8;
- *info = RELOAD_OPTIONS | RELOAD_PARAMS;
+ if (info != NULL)
+ *info = RELOAD_OPTIONS | RELOAD_PARAMS;
+
_load_options(h);
return;
break;