diff src/alac/plugin.c @ 1190:ed2d7787779e trunk

more warning elimination.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 21 Jun 2007 17:33:00 +0900
parents 37abd9b3de4b
children 190a447e5229
line wrap: on
line diff
--- a/src/alac/plugin.c	Wed Jun 20 22:27:48 2007 +0300
+++ b/src/alac/plugin.c	Thu Jun 21 17:33:00 2007 +0900
@@ -145,7 +145,6 @@
     demux_res_t demux_res;
     VFSFile *input_file;
     stream_t *input_stream;
-    TitleInput *ti;
 
     input_file = vfs_fopen(filename, "rb");
     input_stream = stream_create_file(input_file, 1);
@@ -163,7 +162,7 @@
     if (!qtmovie_read(input_stream, &demux_res))
     {
         stream_destroy(input_stream);
-	vfs_fclose(input_file);
+        vfs_fclose(input_file);
         return NULL;
     }
 
@@ -200,14 +199,6 @@
     seek_to = time;
 }
 
-static gint get_time(InputPlayback *data)
-{
-    if (going)
-	return get_output_time();
-    else
-	return -1;
-}
-
 static int get_sample_info(demux_res_t *demux_res, uint32_t samplenum,
                            uint32_t *sample_duration,
                            uint32_t *sample_byte_size)
@@ -318,9 +309,7 @@
 gpointer decode_thread(void *args)
 {
     demux_res_t demux_res;
-    unsigned int output_size, i;
     gulong duration = 0;	/* samples added up */
-    gint framesize;
     VFSFile *input_file;
     stream_t *input_stream;
     TitleInput *ti;