search for: wav_fmt

Displaying 1 result from an estimated 1 matches for "wav_fmt".

Did you mean: tar_fmt
2015 Feb 19
0
[PATCH] oggenc: validate count of channels in the header
...RT_MAX < channels) + { + fprintf(stderr, _("Warning: Unsupported count of channels in AIFF header\n")); + return 0; + } + aiff->bigendian = 1; if(aifc) @@ -416,6 +424,7 @@ int wav_open(FILE *in, oe_enc_opt *opt, unsigned char *oldbuf, int buflen) wav_fmt format; wavfile *wav = malloc(sizeof(wavfile)); int i; + long channels; /* Ok. At this point, we know we have a WAV file. Now we have to detect * whether we support the subtype, and we have to find the actual data @@ -453,12 +462,18 @@ int wav_open(FILE *in, oe_enc_opt *op...