diff --git a/src/screenshooter.c b/src/screenshooter.c index 422c2a9a..24999f3a 100644 --- a/src/screenshooter.c +++ b/src/screenshooter.c @@ -418,7 +418,7 @@ weston_recorder_create(struct weston_output *output, const char *filename) break; default: weston_log("unknown recorder format\n"); - break; + return; } header.width = output->current->width;