ref: 53ec641ecba32c3574a55c9a6560eb5f79a722f0
parent: 697a6ce45e7140d72578b03b6163bf6066b6d9ad
author: Erik de Castro Lopo <[email protected]>
date: Sun Mar 11 07:47:06 EDT 2012
src/samplerate.c : Fix error message for error SRC_ERR_BAD_DATA_PTR.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
+
+ * src/samplerate.c
+ Fix error message for error SRC_ERR_BAD_DATA_PTR. Thanks for oneman in
+ #xiph on Freenode.
+
2011-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/samplerate.h
--- a/src/samplerate.c
+++ b/src/samplerate.c
@@ -1,5 +1,5 @@
/*
-** Copyright (C) 2002-2011 Erik de Castro Lopo <[email protected]>
+** Copyright (C) 2002-2012 Erik de Castro Lopo <[email protected]>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
@@ -389,7 +389,7 @@
case SRC_ERR_BAD_DATA :
return "SRC_DATA pointer is NULL." ;
case SRC_ERR_BAD_DATA_PTR :
- return "SRC_DATA->data_out is NULL." ;
+ return "SRC_DATA->data_out or SRC_DATA->data_in is NULL." ;
case SRC_ERR_NO_PRIVATE :
return "Internal error. No private data." ;