diff options
Diffstat (limited to 'code/renderer/tr_image.c')
-rw-r--r-- | code/renderer/tr_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/renderer/tr_image.c b/code/renderer/tr_image.c index 630b886..22dadbe 100644 --- a/code/renderer/tr_image.c +++ b/code/renderer/tr_image.c @@ -1374,7 +1374,7 @@ static void LoadJPG( const char *filename, unsigned char **pic, int *width, int /* This struct contains the JPEG decompression parameters and pointers to * working space (which is allocated as needed by the JPEG library). */ - struct jpeg_decompress_struct cinfo = {0}; + struct jpeg_decompress_struct cinfo = {NULL}; /* We use our private extension JPEG error handler. * Note that this struct must live as long as the main JPEG parameter * struct, to avoid dangling-pointer problems. |