summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_voc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_voc.c')
-rw-r--r--src/demuxers/demux_voc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/demuxers/demux_voc.c b/src/demuxers/demux_voc.c
index 4de21ff59..fbab20fb5 100644
--- a/src/demuxers/demux_voc.c
+++ b/src/demuxers/demux_voc.c
@@ -23,7 +23,7 @@
* It will only play that block if it is PCM data. More variations will be
* supported as they are encountered.
*
- * $Id: demux_voc.c,v 1.20 2002/12/08 21:43:52 miguelfreitas Exp $
+ * $Id: demux_voc.c,v 1.21 2002/12/21 12:56:46 miguelfreitas Exp $
*
*/
@@ -181,9 +181,9 @@ static int demux_voc_send_chunk(demux_plugin_t *this_gen) {
while (remaining_sample_bytes) {
buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo);
buf->type = this->audio_type;
- buf->input_pos = current_file_pos;
- buf->input_length = this->data_size;
- buf->input_time = current_pts / 90000;
+ buf->extra_info->input_pos = current_file_pos;
+ buf->extra_info->input_length = this->data_size;
+ buf->extra_info->input_time = current_pts / 90000;
buf->pts = current_pts;
if (remaining_sample_bytes > buf->max_size)
@@ -437,6 +437,6 @@ static void *init_plugin (xine_t *xine, void *data) {
plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
- { PLUGIN_DEMUX, 18, "voc", XINE_VERSION_CODE, NULL, init_plugin },
+ { PLUGIN_DEMUX, 19, "voc", XINE_VERSION_CODE, NULL, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};