On Fri, Oct 02, 2015 at 03:45:48PM -0500, Rodger Combs wrote: [...] > + break;/* > + case FINGERPRINT_HASH_RAW: > + case FINGERPRINT_HASH_HEX: > + if (!chromaprint_hash_fingerprint(fp, size, &hash)) { > + av_log(s, AV_LOG_ERROR, "Failed to hash fingerprint\n"); > + goto fail; > + } > + if (cpr->fp_format == FINGERPRINT_HASH_RAW) { > + avio_wb32(pb, hash); > + } else { > + char buf[10]; > + snprintf(buf, sizeof(buf), "%08"PRIx32"\n", hash); > + avio_write(s->pb, buf, strlen(buf)); > + } > + break;*/ [...] > +/* { "hash_raw", "32-bit binary hash", 0, AV_OPT_TYPE_CONST, {.i64 = > FINGERPRINT_HASH_RAW }, INT_MIN, INT_MAX, FLAGS, "fp_format"}, > + { "hash_hex", "32-bit hexadecimal hash", 0, AV_OPT_TYPE_CONST, {.i64 = > FINGERPRINT_HASH_HEX }, INT_MIN, INT_MAX, FLAGS, "fp_format"},*/
outcommented code also fails to build here: CC libavformat/chromaprint.o libavformat/chromaprint.c: In function ‘write_header’: libavformat/chromaprint.c:67:9: error: implicit declaration of function ‘chromaprint_set_option’ [-Werror=implicit-function-declaration] that is with libchromaprint 0.6-1 from ubuntu 12.04 LTS [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Republics decline into democracies and democracies degenerate into despotisms. -- Aristotle
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel