Lines Matching defs:cbuf
1307 char *cbuf = av_malloc(len - 1);
1308 if (cbuf) {
1311 cbuf[i] = get_bits(&s->gb, 8);
1312 if (i > 0 && cbuf[i - 1] == '\n')
1313 cbuf[i - 1] = 0;
1315 cbuf[i] = 0;
1318 av_log(s->avctx, AV_LOG_INFO, "mjpeg comment: '%s'\n", cbuf);
1321 if (!strcmp(cbuf, "AVID")) {
1325 } else if (!strcmp(cbuf, "CS=ITU601"))
1327 else if ((len > 20 && !strncmp(cbuf, "Intel(R) JPEG Library", 21)) ||
1328 (len > 19 && !strncmp(cbuf, "Metasoft MJPEG Codec", 20)))
1331 av_free(cbuf);