mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
src/sndfile.c : Remove un-needed test (always true).
This commit is contained in:
parent
7d59a41550
commit
d094000da2
@ -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 <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/sd2.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 ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user