Lines Matching defs:line
58 uint8_t line[256];
62 get_line(s->pb, line, sizeof(line));
64 if (sscanf(line, "TIMEBASE=%d/%d", &tb.num, &tb.den))
65 get_line(s->pb, line, sizeof(line));
66 if (!sscanf(line, "START=%"SCNd64, &start)) {
67 av_log(s, AV_LOG_ERROR, "Expected chapter start timestamp, found %s.\n", line);
71 get_line(s->pb, line, sizeof(line));
73 if (!sscanf(line, "END=%"SCNd64, &end)) {
74 av_log(s, AV_LOG_ERROR, "Expected chapter end timestamp, found %s.\n", line);
98 static int read_tag(uint8_t *line, AVDictionary **m)
100 uint8_t *key, *value, *p = line;
115 if (!(key = unescape(line, p - line)))
129 uint8_t line[1024];
132 get_line(s->pb, line, sizeof(line));
134 if (!memcmp(line, ID_STREAM, strlen(ID_STREAM))) {
144 } else if (!memcmp(line, ID_CHAPTER, strlen(ID_CHAPTER))) {
152 read_tag(line, m);