summaryrefslogtreecommitdiff
path: root/libavcodec/svq1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r--libavcodec/svq1.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c
index b4f8e03b0b..a841816af2 100644
--- a/libavcodec/svq1.c
+++ b/libavcodec/svq1.c
@@ -600,7 +600,6 @@ static uint16_t svq1_packet_checksum (uint8_t *data, int length, int value) {
return value;
}
-#if 0
static uint16_t svq1_component_checksum (uint16_t *pixels, int pitch,
int width, int height, int value) {
int x, y;
@@ -615,7 +614,6 @@ static uint16_t svq1_component_checksum (uint16_t *pixels, int pitch,
return value;
}
-#endif
static void svq1_parse_string (GetBitContext *bitbuf, uint8_t *out) {
uint8_t seed;
@@ -715,8 +713,6 @@ static int svq1_decode_frame(AVCodecContext *avctx,
int result, i, x, y, width, height;
AVFrame *pict = data;
- *data_size=0;
-
if(buf==NULL && buf_size==0){
return 0;
}