]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aacdec_filter.c
Merge branch 't/utf8'
[paraslash.git] / aacdec_filter.c
index c8b60925ee853de9dec170a733c2a06f35807453..79e666205d866cc2373e198aaccd1a054bbfbe2e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2012 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2013 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -123,7 +123,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;