Initialize pointers that might otherwise not be
Unified · Split
| @@ -462,9 +462,9 @@ static int decodeAACfile(char *aacfile, char *sndfile, char *adts_fn, int to_std · 461 unmodified lines | ||
| 462 | 462 | unsigned char channels; |
| 463 | 463 | void *sample_buffer; |
| 464 | 464 | |
| 465 | − audio_file *aufile; | |
| 465 | + audio_file *aufile = NULL; | |
| 466 | 466 | |
| 467 | − FILE *adtsFile; | |
| 467 | + FILE *adtsFile = NULL; | |
| 468 | 468 | unsigned char *adtsData; |
| 469 | 469 | int adtsDataSize; |
| 470 | 470 | |
| @@ -796,9 +796,9 @@ static int decodeMP4file(char *mp4file, char *sndfile, char *adts_fn, int to_std · 325 unmodified lines | ||
| 796 | 796 | |
| 797 | 797 | long sampleId, startSampleId; |
| 798 | 798 | |
| 799 | − audio_file *aufile; | |
| 799 | + audio_file *aufile = NULL; | |
| 800 | 800 | |
| 801 | − FILE *adtsFile; | |
| 801 | + FILE *adtsFile = NULL; | |
| 802 | 802 | unsigned char *adtsData; |
| 803 | 803 | int adtsDataSize; |
| 804 | 804 | |