From 66796dd4594c5f3a5527fe5f39fe6d6c86e1a1fb Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 28 Oct 2008 23:11:59 +0000 Subject: [PATCH] =?utf8?q?Add=20the=20function=20declaration=20of=20ff=5Fs?= =?utf8?q?vq1=5Fpacket=5Fchecksum=20to=20svq1.h=20and=20include=20svq1.h?= =?utf8?q?=20where=20this=20function=20is=20used.=20Fixes=20the=20warning:?= =?utf8?q?=20libavcodec/svq3.c:862:=20warning:=20implicit=20declaration=20?= =?utf8?q?of=20function=20=E2=80=98ff=5Fsvq1=5Fpacket=5Fchecksum=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15737 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- 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. -- 2.11.4.GIT