diff libmpcodecs/pullup.c @ 11412:ec3dac7d17a0

Warning fixes (approved by A'rpi).
author rathann
date Sat, 08 Nov 2003 00:26:51 +0000
parents fdcd0d571912
children 03e8cbee7333
line wrap: on
line diff
--- a/libmpcodecs/pullup.c	Sat Nov 08 00:09:15 2003 +0000
+++ b/libmpcodecs/pullup.c	Sat Nov 08 00:26:51 2003 +0000
@@ -1,6 +1,8 @@
 
 
+#include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "pullup.h"
 #include "config.h"
 
@@ -321,7 +323,7 @@
 	}
 }
 
-int pullup_submit_field(struct pullup_context *c, struct pullup_buffer *b, int parity)
+void pullup_submit_field(struct pullup_context *c, struct pullup_buffer *b, int parity)
 {
 	struct pullup_field *f;
 	
@@ -329,7 +331,7 @@
 	check_field_queue(c);
 	
 	/* Cannot have two fields of same parity in a row; drop the new one */
-	if (c->last && c->last->parity == parity) return 0;
+	if (c->last && c->last->parity == parity) return;
 
 	f = c->head;
 	f->parity = parity;