Displaying 7 results from an estimated 7 matches for "option_value".
Did you mean:
option_values
2006 Sep 07
1
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
...t a backtrace
that would be another clue.
Josh
Seems like fwrite doesn't like to write to null. However, it seems clear from the code that using --test intentionally creates no outputfile for fwrite.
src/flac/main.c: 1730 retval = flac__decode_wav(infilename, option_values.test_only? 0 : outfilename, option_values.analyze, option_values.aopts, options);
Details below:
(gdb) run
Starting program: /home/tom/sources/flac-1.1.2/src/flac/.libs/lt-flac --silent --test metaflac.flac
Breakpoint 1, DecoderSession_process (d=0xbffff530) at decode.c:500
500...
2007 Jul 25
2
Bug: flac --replay-gain thinks that I used --no-padding
...mpression
that your decoder changes will allow.
Regards,
Scott
--- flac-1.1.4/src/flac/main.c.orig Mon Feb 5 22:32:16 2007
+++ flac-1.1.4/src/flac/main.c Thu Jun 28 16:00:05 2007
@@ -413,7 +413,10 @@
* tags that we will set later, to avoid rewriting the
* whole file.
*/
- if(option_values.padding <= 0) {
+ if(option_values.padding == -1) {
+ /* Leave it alone; use the default. */
+ }
+ else if(option_values.padding <= 0) {
flac__utils_printf(stderr, 1, "NOTE: --replay-gain may leave a small PADDING block even with --no-padding\n");
option_values.p...
2006 Aug 28
2
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
doing "make check" on flac-1.1.2, I get a segmentation fault
././test_metaflac.sh: line 51: 17370 Segmentation fault flac $*
when running this portion of the test/test_metaflac.sh script:
(set -x && run_metaflac --preserve-modtime --add-padding=12345 $flacfile)
check_exit
check_flac <---------------- where the segfault happens
All other tests in
2017 Apr 14
1
error message for flac --sign
...ac/main.c b/src/flac/main.c
index 4e7361b3..c6d9b1e3 100644
--- a/src/flac/main.c
+++ b/src/flac/main.c
@@ -817,7 +817,7 @@ int parse_option(int short_option, const char *long_option, const char *option_a
else if(0 == strncmp(option_argument, "unsigned", strlen(option_argument)))
option_values.format_is_unsigned_samples = true;
else
- return usage_error("ERROR: argument to --sign must be \"signed\" or \"uint32_t\"\n");
+ return usage_error("ERROR: argument to --sign must be \"signed\" or \"unsigned\"\n");
}
else...
2006 Jan 30
15
i18n when?
Hi all,
Just wondering... Are there any plans to include i18n support in Rails
anytime soon?
I guess this is about the only feature I''m realy missing in Rails.
Any thoughts?
Regards,
Harm de Laat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060130/63681052/attachment.html
2008 Nov 18
0
Scoping option_groups_from_collection_for_select
How can I scope the options returned by
option_groups_from_collection_for_select?
Method calls look like this: option_groups_from_collection_for_select
(collection, group_method, group_label_method, option_key_method,
option_value_method, selected_key = nil)
But say I want to limit the results returned by the option_key and
option_value methods to some particular scope?
For instance, using the sample code in rdoc:
class Continent < ActiveRecord::Base
has_many :countries
# attribs: id, name
end
class Count...
2012 Apr 17
1
[PATCH] Remove local_strtoull, windows has equivalent function _strtoui64
...ef _MSC_VER
FLAC__int64 i;
- i = local__strtoll(option_argument, &end);
-#else
- long long i;
i = strtoll(option_argument, &end, 10);
-#endif
if(0 == strlen(option_argument) || *end)
return usage_error("ERROR: --%s must be a number\n", long_option);
option_values.format_input_size = (off_t)i;
@@ -2222,29 +2213,3 @@ char *local_strdup(const char *source)
die("out of memory during strdup()");
return ret;
}
-
-#ifdef _MSC_VER
-/* There's no strtoll() in MSVC6 so we just write a specialized one */
-FLAC__int64 local__strtoll(const char *src...