summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c2
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]);