Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cue_tag: tag_new() cannot fail | Max Kellermann | 2009-12-16 | 1 | -22/+10 |
| | | | | Removed the NULL check. | ||||
* | cue_tag: include cleanup | Max Kellermann | 2009-12-16 | 2 | -2/+5 |
| | |||||
* | archive_plugin: use GError in the open() method | Max Kellermann | 2009-12-16 | 7 | -14/+23 |
| | |||||
* | input/archive: check for archive_file_open() errors | Max Kellermann | 2009-12-16 | 1 | -0/+2 |
| | | | | | This fixes a NULL pointer dereference in case of archive plugin failure. | ||||
* | archive_plugin: wrap method calls | Max Kellermann | 2009-12-16 | 9 | -12/+133 |
| | | | | | 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 Kellermann | 2009-12-16 | 4 | -4/+4 |
| | |||||
* | archive: added a C header for each plugin | Max Kellermann | 2009-12-16 | 8 | -4/+84 |
| | | | | | Moved the archive plugin "extern" declarations into each plugin header. | ||||
* | archive/bz2: removed the bz2_context typedef | Max Kellermann | 2009-12-16 | 1 | -13/+13 |
| | | | | Use the raw struct name instead. | ||||
* | archive/bz2: renamed archive sources and plugin variables | Max Kellermann | 2009-12-16 | 3 | -4/+4 |
| | |||||
* | archive/iso: renamed plugin to "iso9660" | Max Kellermann | 2009-12-16 | 5 | -41/+52 |
| | | | | Based on libiso9660. | ||||
* | archive/bz2: use g_path_get_basename() | Max Kellermann | 2009-12-16 | 1 | -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_seek | Alam Arias | 2009-12-16 | 1 | -2/+2 |
| | |||||
* | input_stream: return errors with GError | Max Kellermann | 2009-12-15 | 36 | -174/+421 |
| | |||||
* | encoder/flac: fix write callback prototype for libFLAC 1.1.2 | Max Kellermann | 2009-12-15 | 1 | -1/+7 |
| | |||||
* | Makefile.am: link test/run_decoder with timer.c | Max Kellermann | 2009-12-15 | 1 | -0/+2 |
| | | | | For the fluidsynth plugin. | ||||
* | decoder_internal: decoder_input_buffer() returns bool | Max Kellermann | 2009-12-15 | 1 | -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 Kellermann | 2009-12-15 | 1 | -1/+1 |
| | | | | | .. instead of manually checking pathname[0]=='/'. g_path_is_absolute() is portable. | ||||
* | archive/bz2: simplified error handling, short read | Max Kellermann | 2009-12-15 | 1 | -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 CamelCase | Max Kellermann | 2009-12-15 | 1 | -11/+10 |
| | |||||
* | archive/zzip: removed the "zip_context" typedef | Max Kellermann | 2009-12-15 | 1 | -11/+11 |
| | | | | Use the raw struct name. | ||||
* | archive/zip: renamed plugin to "zzip" | Max Kellermann | 2009-12-15 | 5 | -43/+45 |
| | | | | This plugin is based on libzzip. | ||||
* | Merge branch 'v0.15.x' | Max Kellermann | 2009-12-15 | 7 | -45/+85 |
|\ | | | | | | | | | | | | | | | 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 destructor | Max Kellermann | 2009-12-15 | 3 | -2/+5 |
| | | | | | | | | Free the "context" pointer in the method archive_plugin.close(). | ||||
| * | archive: close archive when stream is closed | Max Kellermann | 2009-12-15 | 5 | -0/+11 |
| | | | | | | | | | | | | | | | | 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 Kellermann | 2009-12-15 | 1 | -2/+2 |
| | | | | | | | | g_free(NULL) is allowed. | ||||
| * | input/archive: close the archive file on error | Max Kellermann | 2009-12-15 | 2 | -0/+2 |
| | | | | | | | | Fixed memory leak in error handler. | ||||
| * | test/run_input: deinitialize everything after open() error | Max Kellermann | 2009-12-15 | 1 | -40/+50 |
| | | | | | | | | This enables valgrind debugging after an error occurred. | ||||
| * | test/run_input: initialize archive plugins | Max Kellermann | 2009-12-15 | 1 | -0/+15 |
| | | | | | | | | Enable archive plugin debugging. | ||||
| * | input/file: don't fall back to parent directory | Max Kellermann | 2009-12-15 | 2 | -18/+5 |
| | | | | | | | | | | This code has never made any sense, and has broken some of the archive plugin. | ||||
* | | input/file: don't fall back to parent directory | Max Kellermann | 2009-12-15 | 1 | -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.h | Max Kellermann | 2009-12-15 | 5 | -61/+90 |
| | | |||||
* | | archive_list: don't include archive_api.h | Max Kellermann | 2009-12-15 | 2 | -2/+1 |
| | | | | | | | | Use struct forward declarations. | ||||
* | | archive_list: iterate with NULL check | Max Kellermann | 2009-12-15 | 1 | -12/+6 |
| | | | | | | | | Don't use num_archive_plugins. | ||||
* | | archive/bz2: bz2_fillbuffer() returns bool | Max Kellermann | 2009-12-15 | 1 | -5/+6 |
| | | |||||
* | | archive/bz2: fixed indentation | Max Kellermann | 2009-12-15 | 1 | -15/+22 |
| | | |||||
* | | archive/bz2: g_malloc() cannot fail | Max Kellermann | 2009-12-15 | 1 | -4/+2 |
| | | |||||
* | | Makefile.am: distribute AudioCompress/config.h | Max Kellermann | 2009-12-15 | 1 | -0/+1 |
| | | | | | | | | This fixes "make distcheck". | ||||
* | | Makefile.am: install glib_compat.h | Max Kellermann | 2009-12-14 | 1 | -0/+1 |
| | | |||||
* | | fixed several gcc warnings on unused debug variables | Max Kellermann | 2009-12-14 | 3 | -2/+3 |
| | | |||||
* | | decoder/mikmod: fixed gcc uninitialized warning | Max Kellermann | 2009-12-14 | 1 | -2/+1 |
| | | | | | | | | Removed local variable "sample_rate". | ||||
* | | scripts/test.sh: added sndfile/modplug decoder test | Max Kellermann | 2009-12-14 | 1 | -0/+3 |
| | | |||||
* | | input_plugin: method init() returns errors with GError | Max Kellermann | 2009-12-14 | 9 | -15/+79 |
| | | | | | | | | | | 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.c | Max Kellermann | 2009-12-14 | 10 | -62/+117 |
| | | |||||
* | | input_stream: moved plugin list to input_registry.c | Max Kellermann | 2009-12-14 | 4 | -30/+91 |
| | | |||||
* | | input_stream: make input_plugins NULL terminated | Max Kellermann | 2009-12-14 | 1 | -7/+5 |
| | | | | | | | | This is easier to traverse. | ||||
* | | filter: added normalize filter plugin | Max Kellermann | 2009-12-14 | 4 | -0/+127 |
| | | | | | | | | Wrap the AudioCompress library in a filter plugin. | ||||
* | | Fix and use filter_configured_new() | Albin Eldstål-Damlin | 2009-12-14 | 2 | -25/+8 |
| | | |||||
* | | Proper error reporting from filter_config | Albin Eldstål-Damlin | 2009-12-14 | 3 | -21/+45 |
| | | |||||
* | | Fixed memory leak on incorrect route configuration | Albin Eldstål-Damlin | 2009-12-14 | 1 | -0/+4 |
| | | |||||
* | | Split filter_config into its own module | Albin Eldstål-Damlin | 2009-12-14 | 6 | -109/+176 |
| | |