# HG changeset patch # User diego # Date 1225235519 0 # Node ID 847bcb16028ad2587e60db71e5c9ceaa77940075 # Parent 2d3c7cd7d14372c520e6482a8f1b9003ded9c1d0 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¡Ç diff -r 2d3c7cd7d143 -r 847bcb16028a svq1.h --- 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]; diff -r 2d3c7cd7d143 -r 847bcb16028a svq3.c --- 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 #endif +#include "svq1.h" + /** * @file svq3.c * svq3 decoder.