OSDN Git Service

Add the function declaration of ff_svq1_packet_checksum to svq1.h and include
authorDiego Biurrun <diego@biurrun.de>
Tue, 28 Oct 2008 23:11:59 +0000 (23:11 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 28 Oct 2008 23:11:59 +0000 (23:11 +0000)
svq1.h where this function is used. Fixes the warning:
libavcodec/svq3.c:862: warning: implicit declaration of function ‘ff_svq1_packet_checksum’

Originally committed as revision 15737 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/svq1.h
libavcodec/svq3.c

index bf2ee79..a8469d9 100644 (file)
@@ -47,6 +47,9 @@ typedef struct {
     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];
 
index 5503e45..1da6802 100644 (file)
@@ -44,6 +44,8 @@
 #include <zlib.h>
 #endif
 
+#include "svq1.h"
+
 /**
  * @file svq3.c
  * svq3 decoder.