summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1340485)
so that it matches the naming of the other audio format handlers
static OggVorbis_File *oggvorbis_file;
static FILE *infile;
static OggVorbis_File *oggvorbis_file;
static FILE *infile;
-static int header_len, oggbuf_len, vi_channels;
+static int header_len, inbuf_size, vi_channels;
static char *header, *inbuf;
static ssize_t *chunk_table, max_chunk_len;
static struct audio_format_handler *af;
static char *header, *inbuf;
static ssize_t *chunk_table, max_chunk_len;
static struct audio_format_handler *af;
num_chunks = 0;
free(inbuf);
inbuf = NULL;
num_chunks = 0;
free(inbuf);
inbuf = NULL;
}
static int ogg_save_header(FILE *file, int len)
}
static int ogg_save_header(FILE *file, int len)
return NULL;
}
*len = cs;
return NULL;
}
*len = cs;
- if (!inbuf || oggbuf_len < *len) {
+ if (!inbuf || inbuf_size < *len) {
PARA_INFO_LOG("increasing ogg buffer size (%d -> %zu)\n",
PARA_INFO_LOG("increasing ogg buffer size (%d -> %zu)\n",
inbuf = para_realloc(inbuf, *len);
inbuf = para_realloc(inbuf, *len);
}
ret = read(fileno(infile), inbuf, *len);
if (!ret) {
}
ret = read(fileno(infile), inbuf, *len);
if (!ret) {