Lines Matching defs:read
413 /* Level1 elements and whether they were read yet */
888 * Returns: number of bytes read, < 0 on error
893 int read, n = 1;
903 read = 8 - ff_log2_tab[total];
905 if (!total || read > max_size) {
915 read, (uint8_t) total, pos, pos, max_size);
920 /* read out length */
922 while (n++ < read)
932 return read;
1044 * byte more, read the string and NUL-terminate it ourselves. */
1088 * are supposed to be sub-elements which can be read separately.
1119 /* read as unsigned number first */
3023 /* First read the EBML header. */
3859 /* Found a cluster: subtract the size of the ID already read. */
4071 int read;
4074 // read cluster id and length
4075 read = ebml_read_num(matroska, matroska->ctx->pb, 4, &cluster_id, 1);
4076 if (read < 0 || cluster_id != 0xF43B675) // done with all clusters
4078 read = ebml_read_length(matroska, matroska->ctx->pb, &cluster_length);
4079 if (read < 0)
4089 // 4 + read is the length of the cluster id and the cluster length field.
4090 cluster_pos += 4 + read + cluster_length;
4371 av_log(s, AV_LOG_ERROR, "Failed to read file headers\n");