Commit a27d3744 authored by Petri Hintukainen's avatar Petri Hintukainen

Check for NULL

parent b71fe5d9
......@@ -688,7 +688,7 @@ const uint8_t *disc_get_data(BD_DISC *disc, int type)
void disc_event(BD_DISC *disc, uint32_t event, uint32_t param)
if (disc->dec) {
if (disc && disc->dec) {
switch (event) {
dec_start(disc->dec, param);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment