Merge branch 'develop' into feature/single-precision-computations

This commit is contained in:
Shahram Najm 2023-04-19 18:12:31 +01:00
commit c36714360d
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "eccodes.h"
/* See JIRA issue GRIB-361 */

View File

@ -583,6 +583,11 @@ cleanup:
}
#else
static int unpack_float(grib_accessor* a, float* val, size_t* len)
{
grib_context_log(a->context, GRIB_LOG_ERROR, "JPEG support not enabled.");
return GRIB_FUNCTIONALITY_NOT_ENABLED;
}
static int unpack_double(grib_accessor* a, double* val, size_t* len)
{
grib_context_log(a->context, GRIB_LOG_ERROR, "JPEG support not enabled.");