From 53db1cae1c2d555d207563e0197809faf23b3dcc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 21 May 2004 14:37:16 +0000 Subject: data_size = 0 cleanup Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/svq1.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavcodec/svq1.c') 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; } -- cgit v1.2.3