diff options
author | Bradley Sepos <[email protected]> | 2017-07-23 06:14:24 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2017-07-23 06:14:24 -0400 |
commit | f2a0bbadef9f67ccf20a6af21acb4bda4afeb4f3 (patch) | |
tree | 96e281af9a2668532501b2a5742fe46a937f5da1 /test | |
parent | 2cd0a830b6330293a2212318a72b4f0e8808a72b (diff) |
cli: Fix warning when audio sample rate is 0 or auto.
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index cbfff7963..03121642a 100644 --- a/test/test.c +++ b/test/test.c @@ -4401,7 +4401,7 @@ PrepareJob(hb_handle_t *h, hb_title_t *title, hb_dict_t *preset_dict) { arate = hb_audio_samplerate_get_from_name(arates[ii]); } - if (arate <= 0) + if (arate < 0) { fprintf(stderr, "Invalid sample rate %s, using input rate\n", arates[ii]); |