Age | Commit message (Collapse) | Author |
|
|
|
|
|
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.
With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().
malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.
--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
|
|
application/x-flac is not reported anywhere.
Both file(1) and shared-mime-info report audio/x-flac.
Xiph wiki[1] reports audio/flac as being queued for registration.
Report both audio/x-flac and audio/flac for compatibility.
[1] http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
--HG--
rename : src/libflac/decoder_flac.c => src/combined/decoder_flac.c
rename : src/libflac/demux_flac.c => src/combined/demux_flac.c
rename : src/libflac/demux_flac.h => src/combined/demux_flac.h
|