]>
Commit | Line | Data |
---|---|---|
0e3c8b38 UH |
1 | diff --git a/main.c b/main.c |
2 | index 9ab3f77..9d34034 100644 | |
3 | --- a/main.c | |
4 | +++ b/main.c | |
5 | @@ -216,7 +216,7 @@ int main(int argc, char **argv) | |
6 | goto done; | |
7 | ||
8 | if (opt_pds) { | |
9 | - if (srd_init(NULL) != SRD_OK) | |
10 | + if (srd_init("decoders") != SRD_OK) | |
11 | goto done; | |
12 | if (srd_session_new(&srd_sess) != SRD_OK) { | |
13 | g_critical("Failed to create new decode session."); | |
14 | diff --git a/show.c b/show.c | |
15 | index db643d1..55c1bf6 100644 | |
16 | --- a/show.c | |
17 | +++ b/show.c | |
18 | @@ -65,7 +65,7 @@ void show_version(void) | |
19 | printf("\n"); | |
20 | ||
21 | #ifdef HAVE_SRD | |
22 | - if (srd_init(NULL) == SRD_OK) { | |
23 | + if (srd_init("decoders") == SRD_OK) { | |
24 | printf("Supported protocol decoders:\n"); | |
25 | srd_decoder_load_all(); | |
26 | for (l = srd_decoder_list(); l; l = l->next) { |