diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-10-28 23:11:59 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-10-28 23:11:59 +0000 |
commit | 2be3fe39bf09eb25f98def140d274dc825ca7cfe (patch) | |
tree | dde9ea9de1f1cfaf2beca2ab0571ab63ff82f4c9 /libavcodec | |
parent | b735aeead8a6222c9164300fc3999989a312fcab (diff) | |
download | ffmpeg-2be3fe39bf09eb25f98def140d274dc825ca7cfe.tar.gz |
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
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/svq1.h | 3 | ||||
-rw-r--r-- | libavcodec/svq3.c | 2 |
2 files changed, 5 insertions, 0 deletions
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 <zlib.h> #endif +#include "svq1.h" + /** * @file svq3.c * svq3 decoder. |