From: Diego Biurrun Date: Tue, 28 Oct 2008 23:11:59 +0000 (+0000) Subject: Add the function declaration of ff_svq1_packet_checksum to svq1.h and include X-Git-Tag: v0.5~2063 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2be3fe39bf09eb25f98def140d274dc825ca7cfe;p=coroid%2Flibav_saccubus.git 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’ Originally committed as revision 15737 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/svq1.h b/libavcodec/svq1.h index bf2ee7943..a8469d920 100644 --- a/libavcodec/svq1.h +++ b/libavcodec/svq1.h @@ -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]; diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 5503e4585..1da68027e 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -44,6 +44,8 @@ #include #endif +#include "svq1.h" + /** * @file svq3.c * svq3 decoder.