Displaying 12 results from an estimated 12 matches similar to: "FLAC__metadata_get_picture()"
2007 Dec 02
1
Get multiple pictures in Flac tags
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20071202/e18cddb2/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metaflac.flac
Type: audio/x-flac
Size: 10983 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20071202/e18cddb2/metaflac.bin
2016 Apr 15
0
FLAC__metadata_get_picture always return false
I am using a libFLAC8.dylib that I have compiled with the original Makefile of flac 1.3.1 distribution, in a project with a custom flac.h header file which is an amalgamation of all the flac header files.
I can get this pair ( flac.h & libFLAC8.dylib ) working fine to convert flac file to other supported audio file formats both ways. It work also fine to get Vorbis Comment and other metadata (
2006 Sep 06
1
FLAC__metadata_simple_iterator_set_block corrupting Flac (ogg) stream?
Hey!
So, I'm clearly doing something wrong, because I've written a program to
view and modify the comment tags in a FLAC file, which appears to be
embedded an Ogg stream. This particular file also has ID3 headers at the
beginning, but I was planning on ignoring those and fixing them up using
some ID3 code later on ...
Now, to read the comments is quite simple:
2010 Mar 08
0
Difficulties in add cover art to FLAC file
Hi all, recently I tried to add cover art to flac files and have dfficulties
in doing so.
FLAC__Metadata_Chain *chain = FLAC__metadata_chain_new();
if(0 == chain)
return;
if(!FLAC__metadata_chain_read(chain, filename))
return;
FLAC__StreamMetadata *picture =
FLAC__metadata_object_new(FLAC__METADATA_TYPE_PICTURE);
FLAC__Metadata_Iterator *iterator = FLAC__metadata_iterator_new();
if(0 ==
2015 Jun 28
2
about libFLAC/metadata_object.c
There are two functions:
static void vorbiscomment_entry_array_delete_(FLAC__StreamMetadata_VorbisComment_Entry *object_array, unsigned num_comments);
and
static void cuesheet_track_array_delete_(FLAC__StreamMetadata_CueSheet_Track *object_array, unsigned num_tracks);
which first dereference object_array and only then check it for NULL:
free(object_array[i].indices);
2008 May 19
1
Memory leaks due to Metadata object vorbis comment API ???
Hi List,
I recently was assigned a task to port FLAC Encoder to our embedded
platform. Thanks to OO-like design of the libFLAC and throught
documentation, that porting went like a charm. I had some problems with
chmod/chown like routines while porting but I was able to safely remove that
piece of code without any trouble.
I have observed that the my application FLAC Encoder failes in
2013 Jul 09
0
Slight memory leak or bad documentation
Hi, I was just messing around with a metadata modifier in flac (using the C++ api) and found something strange.
When iterating over a chain and calling FLAC::Metadata::Iterator::get_block(), it seems a newly constructed ProtoType* is returned (the source says "return local::construct(::FLAC__metadata_simple_iterator_get_block(iterator_));"), if one does not delete this pointer, the
2014 Sep 25
2
Patch to improve malformed vorbiscomment handling
Here's a patch to allow flac and metaflac handle files with malformed
vorbiscomment metadata block.
-------------- next part --------------
diff --git a/src/libFLAC/metadata_iterators.c b/src/libFLAC/metadata_iterators.c
index d50df39..39cb276 100644
--- a/src/libFLAC/metadata_iterators.c
+++ b/src/libFLAC/metadata_iterators.c
@@ -78,7 +78,7 @@ static FLAC__Metadata_SimpleIteratorStatus
2014 Sep 26
0
Patch to improve malformed vorbiscomment handling
On 26.9.2014 15:21, Erik de Castro Lopo wrote:
> Janne Hyv?rinen wrote:
>
>> Patch v2, now handles more malformed cases. Original patch was for a
>> file for which I had a sample from a user but this allows handling some
>> manually broken test cases.
>
> Err, I'm getting warning messages on that patch:
>
> CC metadata_iterators.lo
>
2014 Sep 26
2
Patch to improve malformed vorbiscomment handling
Janne Hyv?rinen wrote:
> Patch v2, now handles more malformed cases. Original patch was for a
> file for which I had a sample from a user but this allows handling some
> manually broken test cases.
Err, I'm getting warning messages on that patch:
CC metadata_iterators.lo
metadata_iterators.c: In function ?read_metadata_block_data_vorbis_comment_cb_?:
2014 Sep 26
0
Patch to improve malformed vorbiscomment handling
Patch v2, now handles more malformed cases. Original patch was for a
file for which I had a sample from a user but this allows handling some
manually broken test cases.
On 25.9.2014 21:53, Janne Hyv?rinen wrote:
> Here's a patch to allow flac and metaflac handle files with malformed
> vorbiscomment metadata block.
>
>
> _______________________________________________
>
2006 Jul 23
1
[PATCH] Fix a compile bug with gcc 2.95 in src/plugin_common/replaygain.c
Declaring variables in the middle of a block isn't supported by
older (pre-C99?) compilers, and gcc 2.95 is one of them.
--- a/src/plugin_common/replaygain.c
+++ b/src/plugin_common/replaygain.c
@@ -28,10 +28,11 @@ void FLAC_plugin__replaygain_get_from_fi
double *track_peak, FLAC__bool *track_peak_set,