d35be767 relied on state->width/height being zero before setting
up the defaults, but the state structure is just on the stack
in main() and not initialised.
Initialise the whole structure to 0.
#include <errno.h>
#include <sysexits.h>
-#define VERSION_STRING "v1.3.10"
+#define VERSION_STRING "v1.3.11"
#include "bcm_host.h"
#include "interface/vcos/vcos.h"
int main(int argc, const char **argv)
{
// Our main data storage vessel..
- RASPISTILL_STATE state;
+ RASPISTILL_STATE state = {0};
int exit_code = EX_OK;
MMAL_STATUS_T status = MMAL_SUCCESS;