ref: 481c19ef75d8c5d5b2e43d4a69efb52a1125e138
parent: 043d37b60cdded2abed7c4054f954e6f9f5cada6
parent: 3aba163b9b729a5d8c2856f425fb41e50fafc76b
author: Fabian Greffrath <fabian@greffrath.com>
date: Thu Nov 14 05:25:01 EST 2019
Merge pull request #44 from janisozaur/pointers Initialize pointers that might otherwise not be
--- a/frontend/main.c
+++ b/frontend/main.c
@@ -462,9 +462,9 @@
unsigned char channels;
void *sample_buffer;
- audio_file *aufile;
+ audio_file *aufile = NULL;
- FILE *adtsFile;
+ FILE *adtsFile = NULL;
unsigned char *adtsData;
int adtsDataSize;
@@ -796,9 +796,9 @@
long sampleId, startSampleId;
- audio_file *aufile;
+ audio_file *aufile = NULL;
- FILE *adtsFile;
+ FILE *adtsFile = NULL;
unsigned char *adtsData;
int adtsDataSize;