diff --git a/interface/mmal/test/examples/example_basic_1.c b/interface/mmal/test/examples/example_basic_1.c index 49b984e28..9707cb9fa 100644 --- a/interface/mmal/test/examples/example_basic_1.c +++ b/interface/mmal/test/examples/example_basic_1.c @@ -33,7 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define CHECK_STATUS(status, msg) if (status != MMAL_SUCCESS) { fprintf(stderr, msg"\n"); goto error; } -static uint8_t codec_header_bytes[512]; +static uint8_t codec_header_bytes[128]; static unsigned int codec_header_bytes_size = sizeof(codec_header_bytes); static FILE *source_file; diff --git a/interface/mmal/test/examples/example_basic_2.c b/interface/mmal/test/examples/example_basic_2.c index cc474f268..f7c885d70 100644 --- a/interface/mmal/test/examples/example_basic_2.c +++ b/interface/mmal/test/examples/example_basic_2.c @@ -35,7 +35,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define CHECK_STATUS(status, msg) if (status != MMAL_SUCCESS) { fprintf(stderr, msg"\n"); goto error; } -static uint8_t codec_header_bytes[512]; +static uint8_t codec_header_bytes[128]; static unsigned int codec_header_bytes_size = sizeof(codec_header_bytes); static FILE *source_file;