aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input/archive: check for archive_file_open() errorsMax Kellermann2009-12-161-0/+2
| | | | | This fixes a NULL pointer dereference in case of archive plugin failure.
* archive_plugin: wrap method callsMax Kellermann2009-12-168-12/+132
| | | | | Make archive_file a "real" struct, extended by all plugins. Add the plugin pointer to it. Wrap all method calls in functions.
* archive_plugin: pass const string to method open()Max Kellermann2009-12-164-4/+4
|
* archive: added a C header for each pluginMax Kellermann2009-12-167-4/+81
| | | | | Moved the archive plugin "extern" declarations into each plugin header.
* archive/bz2: removed the bz2_context typedefMax Kellermann2009-12-161-13/+13
| | | | Use the raw struct name instead.
* archive/bz2: renamed archive sources and plugin variablesMax Kellermann2009-12-162-3/+3
|
* archive/iso: renamed plugin to "iso9660"Max Kellermann2009-12-162-37/+47
| | | | Based on libiso9660.
* archive/bz2: use g_path_get_basename()Max Kellermann2009-12-161-10/+1
| | | | | Use g_path_get_basename() instead of manually filtering the path name. Big advantage: g_path_get_basename() cannot fail.
* updated mp4ff decoder about input_stream_seekAlam Arias2009-12-161-2/+2
|
* input_stream: return errors with GErrorMax Kellermann2009-12-1532-160/+378
|
* encoder/flac: fix write callback prototype for libFLAC 1.1.2Max Kellermann2009-12-151-1/+7
|
* decoder_internal: decoder_input_buffer() returns boolMax Kellermann2009-12-151-4/+4
| | | | | | This fixes a regression: a boolean value was returned from decoder_input_buffer(), but the caller chose to do a "<= 0" comparison.
* input/archive: use g_path_is_absolute()Max Kellermann2009-12-151-1/+1
| | | | | .. instead of manually checking pathname[0]=='/'. g_path_is_absolute() is portable.
* archive/bz2: simplified error handling, short readMax Kellermann2009-12-151-34/+23
| | | | | Don't attempt to fill the whole buffer in the read() method, return whatever libbz2 provides with the first successful BZ2_bzDecompress().
* archive/bz2: no CamelCaseMax Kellermann2009-12-151-11/+10
|
* archive/zzip: removed the "zip_context" typedefMax Kellermann2009-12-151-11/+11
| | | | Use the raw struct name.
* archive/zip: renamed plugin to "zzip"Max Kellermann2009-12-152-31/+31
| | | | This plugin is based on libzzip.
* Merge branch 'v0.15.x'Max Kellermann2009-12-155-4/+15
|\ | | | | | | | | | | | | | | Conflicts: src/archive/bz2_plugin.c src/archive_api.h src/input/file_input_plugin.c test/run_input.c
| * iso, zip: fixed memory leak in destructorMax Kellermann2009-12-152-2/+4
| | | | | | | | Free the "context" pointer in the method archive_plugin.close().
| * archive: close archive when stream is closedMax Kellermann2009-12-154-0/+9
| | | | | | | | | | | | | | | | Fixes a memory leak: the "archive" input plugin opens the archive, but never closes it. This patch moves the responsibility for doing that to archive_plugin.open_stream(). This is an slight internal API change, but it is the simplest and least intrusive fix for the memory leak.
| * archive/bz2: removed NULL check before g_free()Max Kellermann2009-12-151-2/+2
| | | | | | | | g_free(NULL) is allowed.
| * input/archive: close the archive file on errorMax Kellermann2009-12-151-0/+1
| | | | | | | | Fixed memory leak in error handler.
| * input/file: don't fall back to parent directoryMax Kellermann2009-12-151-18/+3
| | | | | | | | | | This code has never made any sense, and has broken some of the archive plugin.
* | input/file: don't fall back to parent directoryMax Kellermann2009-12-151-18/+3
| | | | | | | | | | This code has never made any sense, and has broken some of the archive plugin.
* | archive_api.h: moved struct archive_plugin to archive_plugin.hMax Kellermann2009-12-154-61/+89
| |
* | archive_list: don't include archive_api.hMax Kellermann2009-12-152-2/+1
| | | | | | | | Use struct forward declarations.
* | archive_list: iterate with NULL checkMax Kellermann2009-12-151-12/+6
| | | | | | | | Don't use num_archive_plugins.
* | archive/bz2: bz2_fillbuffer() returns boolMax Kellermann2009-12-151-5/+6
| |
* | archive/bz2: fixed indentationMax Kellermann2009-12-151-15/+22
| |
* | archive/bz2: g_malloc() cannot failMax Kellermann2009-12-151-4/+2
| |
* | fixed several gcc warnings on unused debug variablesMax Kellermann2009-12-143-2/+3
| |
* | decoder/mikmod: fixed gcc uninitialized warningMax Kellermann2009-12-141-2/+1
| | | | | | | | Removed local variable "sample_rate".
* | input_plugin: method init() returns errors with GErrorMax Kellermann2009-12-145-11/+52
| | | | | | | | | | Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it.
* | input_stream: moved input_stream_global_init() to input_init.cMax Kellermann2009-12-145-62/+111
| |
* | input_stream: moved plugin list to input_registry.cMax Kellermann2009-12-143-30/+89
| |
* | input_stream: make input_plugins NULL terminatedMax Kellermann2009-12-141-7/+5
| | | | | | | | This is easier to traverse.
* | filter: added normalize filter pluginMax Kellermann2009-12-143-0/+125
| | | | | | | | Wrap the AudioCompress library in a filter plugin.
* | Fix and use filter_configured_new()Albin Eldstål-Damlin2009-12-142-25/+8
| |
* | Proper error reporting from filter_configAlbin Eldstål-Damlin2009-12-143-21/+45
| |
* | Fixed memory leak on incorrect route configurationAlbin Eldstål-Damlin2009-12-141-0/+4
| |
* | Split filter_config into its own moduleAlbin Eldstål-Damlin2009-12-145-109/+173
| |
* | Error reporting, pcm_buffer, performance tweaksAlbin Eldstål-Damlin2009-12-141-52/+48
| |
* | Initial filter chain and filter configuration for outputs.Albin Eldstål-Damlin2009-12-144-0/+118
| |
* | Initial (statically configured) route filter pluginAlbin Eldstål-Damlin2009-12-143-0/+347
| |
* | Minor documentation fixAlbin Eldstål-Damlin2009-12-141-2/+2
| |
* | Merge branch 'v0.15.x'Max Kellermann2009-12-148-17/+45
|\| | | | | | | | | Conflicts: src/decoder/ffmpeg_plugin.c
| * decoder/wavpack: don't use the nonstandard "uchar" typeMax Kellermann2009-12-111-1/+1
| | | | | | | | Use the signed C99 type int8_t instead.
| * mixer: explicitly close all mixers on shutdownMax Kellermann2009-12-081-0/+4
| | | | | | | | | | | | Mixers with the "global" flag set aren't closed automatically when the output device is closed. Thus, they might still be open when MPD shuts down.
| * mapper: apply filesystem_charset to playlistsMax Kellermann2009-12-084-11/+36
| | | | | | | | | | | | | | | | This fixes an inconsistency in the stored playlist subsystem: when obtaining the list of playlists (listplaylist, listplaylistinfo), the file names in the playlist directory are converted to UTF-8 (according to filesystem_charset), but when saving or loading playlists, the filesystem_charset setting was ignored.
| * command: verify playlist name in the "rm" commandMax Kellermann2009-12-081-0/+3
| | | | | | | | Call spl_valid_name() in spl_delete().