Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 683110 Details for
Bug 719792
=media-libs/flac-1.3.3: regression of flac -t after rebuild: WARNING, cannot check MD5 signature since it was unset in the STREAMINFO
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
small test program
test.c (text/plain), 1.11 KB, created by
Stefan Briesenick
on 2021-01-16 01:16:16 UTC
(
hide
)
Description:
small test program
Filename:
MIME Type:
Creator:
Stefan Briesenick
Created:
2021-01-16 01:16:16 UTC
Size:
1.11 KB
patch
obsolete
> >#include <FLAC/all.h> >#include <string.h> > >// compile with: >// gcc -O2 -S -o test.s test.c > >typedef struct { > FLAC__bool has_md5sum; >} DecoderSession; > >void callback1(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) { > DecoderSession *decoder_session = (DecoderSession*)client_data; > decoder_session->has_md5sum = memcmp(metadata->data.stream_info.md5sum, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16); >} > >void callback2(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) { > DecoderSession *decoder_session = (DecoderSession*)client_data; > decoder_session->has_md5sum = memcmp(metadata->data.stream_info.md5sum, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) != 0; >} > >void callback3(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) { > DecoderSession *decoder_session = (DecoderSession*)client_data; > FLAC__byte emptyMD5[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; > decoder_session->has_md5sum = memcmp(metadata->data.stream_info.md5sum, emptyMD5, 16); >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 719792
:
634856
|
634858
|
634860
| 683110 |
683134