diff --git a/ChangeLog b/ChangeLog index 6bd900ae..8f9f2a7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,9 @@ * src/sd2.c Improve handling of heap allocated buffer. + * src/sndfile.c + Remove un-needed test (always true). + 2009-02-21 Erik de Castro Lopo * src/sd2.c diff --git a/src/sndfile.c b/src/sndfile.c index c528bb58..5fdfc0a6 100644 --- a/src/sndfile.c +++ b/src/sndfile.c @@ -2158,9 +2158,6 @@ format_from_extension (SF_PRIVATE *psf) char buffer [16] ; int format = 0 ; - if (psf->filename == NULL) - return 0 ; - if ((cptr = strrchr (psf->filename, '.')) == NULL) return 0 ;