changeset 8080:847bcb16028a libavcodec

Add the function declaration of ff_svq1_packet_checksum to svq1.h and include svq1.h where this function is used. Fixes the warning: libavcodec/svq3.c:862: warning: implicit declaration of function ¡Æff_svq1_packet_checksum¡Ç
author diego
date Tue, 28 Oct 2008 23:11:59 +0000
parents 2d3c7cd7d143
children 2ca605b9c37a
files svq1.h svq3.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/svq1.h	Tue Oct 28 22:50:16 2008 +0000
+++ b/svq1.h	Tue Oct 28 23:11:59 2008 +0000
@@ -47,6 +47,9 @@
     int height;
 } svq1_frame_size_t;
 
+uint16_t ff_svq1_packet_checksum (const uint8_t *data, const int length,
+                                  int value);
+
 extern const int8_t* const ff_svq1_inter_codebooks[6];
 extern const int8_t* const ff_svq1_intra_codebooks[6];
 
--- a/svq3.c	Tue Oct 28 22:50:16 2008 +0000
+++ b/svq3.c	Tue Oct 28 23:11:59 2008 +0000
@@ -44,6 +44,8 @@
 #include <zlib.h>
 #endif
 
+#include "svq1.h"
+
 /**
  * @file svq3.c
  * svq3 decoder.