Browse Source

libvlc: preparser: stop ignoring wrong end status codes

Unexpected status codes sent to the event handler should be treated as a
programming mistake and not silently ignored.
pull/172/head
Alaric Senat 2 years ago
committed by Steve Lhomme
parent
commit
933ecc78a1
  1. 2
      lib/media.c

2
lib/media.c

@ -325,7 +325,7 @@ static void input_item_preparse_ended(input_item_t *item,
new_status = libvlc_media_parsed_status_done;
break;
default:
return;
vlc_assert_unreachable();
}
send_parsed_changed( p_md, new_status );

Loading…
Cancel
Save