From 2be3fe39bf09eb25f98def140d274dc825ca7cfe Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 28 Oct 2008 23:11:59 +0000 Subject: [PATCH] =?UTF-8?q?Add=20the=20function=20declaration=20of=20ff=5F?= =?UTF-8?q?svq1=5Fpacket=5Fchecksum=20to=20svq1.h=20and=20include=20svq1.h?= =?UTF-8?q?=20where=20this=20function=20is=20used.=20Fixes=20the=20warning?= =?UTF-8?q?:=20libavcodec/svq3.c:862:=20warning:=20implicit=20declaration?= =?UTF-8?q?=20of=20function=20=E2=80=98ff=5Fsvq1=5Fpacket=5Fchecksum?= =?UTF-8?q?=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 15737 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/svq1.h | 3 +++ libavcodec/svq3.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/libavcodec/svq1.h b/libavcodec/svq1.h index bf2ee79432..a8469d920c 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 5503e45851..1da68027e4 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -44,6 +44,8 @@ #include #endif +#include "svq1.h" + /** * @file svq3.c * svq3 decoder.