MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / print_data_base64

Function print_data_base64

fftools/textformat/avtextformat.c:536–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534}
535
536static void print_data_base64(AVBPrint *bp, const uint8_t *data, int size)
537{
538 char buf[AV_BASE64_SIZE(60)];
539
540 av_bprintf(bp, "\n");
541 while (size) {
542 int l = FFMIN(size, 60);
543 av_base64_encode(buf, sizeof(buf), data, l);
544 av_bprintf(bp, "%s\n", buf);
545 data += l;
546 size -= l;
547 }
548}
549void avtext_print_data(AVTextFormatContext *tctx, const char *key,
550 const uint8_t *data, int size)
551{

Callers 1

avtext_print_dataFunction · 0.85

Calls 2

av_bprintfFunction · 0.85
av_base64_encodeFunction · 0.85

Tested by

no test coverage detected