Lines Matching defs:cbuf
1743 char *cbuf = av_malloc(len - 1);
1744 if (cbuf) {
1747 cbuf[i] = get_bits(&s->gb, 8);
1748 if (i > 0 && cbuf[i - 1] == '\n')
1749 cbuf[i - 1] = 0;
1751 cbuf[i] = 0;
1754 av_log(s->avctx, AV_LOG_INFO, "comment: '%s'\n", cbuf);
1757 if (!strncmp(cbuf, "AVID", 4)) {
1758 parse_avid(s, cbuf, len);
1759 } else if (!strcmp(cbuf, "CS=ITU601"))
1761 else if ((!strncmp(cbuf, "Intel(R) JPEG Library, version 1", 32) && s->avctx->codec_tag) ||
1762 (!strncmp(cbuf, "Metasoft MJPEG Codec", 20)))
1765 av_free(cbuf);