]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aacdec_filter.c
Merge branch 't/test_man'
[paraslash.git] / aacdec_filter.c
index 9eea045ca27cce9359201a19ab8cba1059664870..d63236da5112d2ea9a9ac52d80c31abdc0ad78f4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2013 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2014 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -122,7 +122,7 @@ next_buffer:
                        ret = -E_AACDEC_INIT;
                        if (NeAACDecInit2(padd->handle, p,
                                        padd->decoder_length, &rate,
-                                       &channels) < 0)
+                                       &channels) != 0)
                                goto out;
                }
                padd->sample_rate = rate;