Displaying 4 results from an estimated 4 matches for "flac__bitwriter_write_raw_uint32".
2016 Jan 08
1
warning: inlining failed in call to 'FLAC__bitwriter_write_raw_uint32.constprop':
Building with MinGW-w64 GCC 5.3.0 via Makefile.lite, I get the
following warnings:
bitwriter.c: In function 'FLAC__bitwriter_write_utf8_uint64':
bitwriter.c:324:19: warning: inlining failed in call to
'FLAC__bitwriter_write_raw_uint32.constprop': --param
large-function-growth limit reached [-Winline]
inline FLAC__bool FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter
*bw, FLAC__uint32 val, unsigned bits)
^
bitwriter.c:826:9: warning: called from here [-Winline]
ok &= FLAC__bitwriter_write_raw_uint32...
2016 Jan 08
1
[PATCH] add a check in FLAC__bitwriter_write_raw_uint32()
FLAC__bitwriter_write_raw_uint32() assumes that the unused bits of the
'val' argument are equal to zero, and doesn't check it (an assert was
added recently, but it's disabled in non-debug builds anyway).
But it makes more difficult to catch metadata length overflow (such as too
big picture or padding size), so the...
2012 Apr 07
1
[PATCH 2/2] Update and improve autotools build
...r_write_zeroes(FLAC__BitWriter *bw, unsigned bits)
+inline FLAC__bool FLAC__bitwriter_write_zeroes(FLAC__BitWriter *bw, unsigned bits)
{
unsigned n;
@@ -308,7 +304,7 @@ FLaC__INLINE FLAC__bool FLAC__bitwriter_write_zeroes(FLAC__BitWriter *bw, unsign
return true;
}
-FLaC__INLINE FLAC__bool FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter *bw, FLAC__uint32 val, unsigned bits)
+inline FLAC__bool FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter *bw, FLAC__uint32 val, unsigned bits)
{
register unsigned left;
@@ -347,7 +343,7 @@ FLaC__INLINE FLAC__bool FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter *bw, FL
retur...
2015 Dec 16
2
about word size in bitreader/bitwriter
...FLAC__BYTES_PER_WORD to 8 on 64-bit
architectures. However currently the code in bitreader.c/bitwriter.c doesn't care
much about 64-bit words: there are places like
const FLAC__uint32 mask2 = FLAC__WORD_ALL_ONES >> (31-parameter);
and FLAC__bitwriter_write_raw_uint64() simply calls FLAC__bitwriter_write_raw_uint32() twice...
And there were three patches --
<http://git.xiph.org/?p=flac.git;a=commitdiff;h=66bd44bacc28cb154b5c9349cf3288da9ec74501>
<http://git.xiph.org/?p=flac.git;a=commitdiff;h=387b72731dbf79450050987b9b36bf70f286b098>
<http://git.xiph.org/?p=flac.git;a=commitdiff;h=d30fe60fc6...