]> git.sesse.net Git - mlt/commitdiff
Fix a couple of compile warnings.
authorDan Dennedy <dan@dennedy.org>
Sun, 28 Feb 2010 19:23:21 +0000 (11:23 -0800)
committerDan Dennedy <dan@dennedy.org>
Sun, 28 Feb 2010 19:23:21 +0000 (11:23 -0800)
src/framework/mlt_frame.c
src/modules/effectv/filter_burn.c

index 0b9abf2076f1879e29e49442e604b21b34f5dfb5..76d23346df679da55e89f5ff413c7edb66a096be 100644 (file)
@@ -812,7 +812,7 @@ int mlt_sample_calculator( float fps, int frequency, int64_t position )
  * \bug Will this break when mlt_position is converted to double?
  */
 
-inline int64_t mlt_sample_calculator_to_now( float fps, int frequency, int64_t position )
+int64_t mlt_sample_calculator_to_now( float fps, int frequency, int64_t position )
 {
        int64_t samples = 0;
 
index 5d68a792db0cb947c5ca67eea1c1ec7d8d7524c6..42a1f2d877d777ba28199ae42c8ac6d9a9ab0870 100644 (file)
@@ -52,7 +52,7 @@ static void makePalette(void)
                *p++ = r & 0xfe;
                *p++ = g & 0xfe;
                *p++ = b & 0xfe;
-               *p++;
+               p++;
        }
        for(i=MaxColor; i<256; i++) {
                if(r<255)r++;if(r<255)r++;if(r<255)r++;
@@ -63,7 +63,7 @@ static void makePalette(void)
                *p++ = r & 0xfe;
                *p++ = g & 0xfe;
                *p++ = b & 0xfe;
-               *p++;
+               p++;
        }
 }