Browse Source

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
tags/v0.5
Diego Biurrun 16 years ago
parent
commit
2be3fe39bf
2 changed files with 5 additions and 0 deletions
  1. +3
    -0
      libavcodec/svq1.h
  2. +2
    -0
      libavcodec/svq3.c

+ 3
- 0
libavcodec/svq1.h View File

@@ -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];



+ 2
- 0
libavcodec/svq3.c View File

@@ -44,6 +44,8 @@
#include <zlib.h>
#endif

#include "svq1.h"

/**
* @file svq3.c
* svq3 decoder.


Loading…
Cancel
Save