Lines Matching defs:line
787 char line[MAX_LINE_SIZE];
788 int len = ff_get_line(s->pb, line, sizeof(line));
793 line[strcspn(line, "\r\n")] = 0;
795 if (!strncmp(line, "id:", 3)) {
796 if (sscanf(line, "id: %63[^,], index: %u", id, &stream_id) != 2) {
797 av_log(s, AV_LOG_WARNING, "Unable to parse index line '%s', "
798 "assuming 'id: und, index: 0'\n", line);
816 } else if (!strncmp(line, "timestamp:", 10)) {
820 const char *p = line + 10;
845 av_log(s, AV_LOG_ERROR, "Unable to parse timestamp line '%s', "
846 "abort parsing\n", line);
862 } else if (!strncmp(line, "alt:", 4)) {
863 const char *p = line + 4;
871 } else if (!strncmp(line, "delay:", 6)) {
873 const char *p = line + 6;
884 } else if (!strncmp(line, "langidx:", 8)) {
885 const char *p = line + 8;
891 if (line[0] && line[0] != '#')
892 av_bprintf(&header, "%s\n", line);