[FFmpeg-cvslog] r15737 - in trunk/libavcodec: svq1.h svq3.c
diego
subversion
Wed Oct 29 00:11:59 CET 2008
Author: diego
Date: Wed Oct 29 00:11:59 2008
New Revision: 15737
Log:
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?
Modified:
trunk/libavcodec/svq1.h
trunk/libavcodec/svq3.c
Modified: trunk/libavcodec/svq1.h
==============================================================================
--- trunk/libavcodec/svq1.h (original)
+++ trunk/libavcodec/svq1.h Wed Oct 29 00:11:59 2008
@@ -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];
Modified: trunk/libavcodec/svq3.c
==============================================================================
--- trunk/libavcodec/svq3.c (original)
+++ trunk/libavcodec/svq3.c Wed Oct 29 00:11:59 2008
@@ -44,6 +44,8 @@
#include <zlib.h>
#endif
+#include "svq1.h"
+
/**
* @file svq3.c
* svq3 decoder.
More information about the ffmpeg-cvslog
mailing list