diff options
Diffstat (limited to 'src/main/extractor_plugin_main.c')
-rw-r--r-- | src/main/extractor_plugin_main.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/main/extractor_plugin_main.c b/src/main/extractor_plugin_main.c index fd4912f..b7b2996 100644 --- a/src/main/extractor_plugin_main.c +++ b/src/main/extractor_plugin_main.c | |||
@@ -120,7 +120,9 @@ plugin_env_seek (void *cls, | |||
120 | int whence) | 120 | int whence) |
121 | { | 121 | { |
122 | struct ProcessingContext *pc = cls; | 122 | struct ProcessingContext *pc = cls; |
123 | struct SeekRequestMessage srm; | 123 | struct SeekRequestMessage srm = { |
124 | .opcode = MESSAGE_SEEK | ||
125 | }; | ||
124 | struct UpdateMessage um; | 126 | struct UpdateMessage um; |
125 | uint64_t npos; | 127 | uint64_t npos; |
126 | unsigned char reply; | 128 | unsigned char reply; |
@@ -380,7 +382,9 @@ plugin_env_send_proc (void *cls, | |||
380 | static int | 382 | static int |
381 | handle_init_message (struct ProcessingContext *pc) | 383 | handle_init_message (struct ProcessingContext *pc) |
382 | { | 384 | { |
383 | struct InitMessage init; | 385 | struct InitMessage init = { |
386 | .opcode = MESSAGE_INIT_STATE | ||
387 | }; | ||
384 | 388 | ||
385 | if (NULL != pc->shm) | 389 | if (NULL != pc->shm) |
386 | { | 390 | { |
@@ -457,7 +461,9 @@ handle_init_message (struct ProcessingContext *pc) | |||
457 | static int | 461 | static int |
458 | handle_start_message (struct ProcessingContext *pc) | 462 | handle_start_message (struct ProcessingContext *pc) |
459 | { | 463 | { |
460 | struct StartMessage start; | 464 | struct StartMessage start = { |
465 | .opcode = MESSAGE_EXTRACT_START | ||
466 | }; | ||
461 | struct EXTRACTOR_ExtractContext ec; | 467 | struct EXTRACTOR_ExtractContext ec; |
462 | char done; | 468 | char done; |
463 | 469 | ||