aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/svq1.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-21 14:37:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-21 14:37:16 +0000
commit53db1cae1c2d555d207563e0197809faf23b3dcc (patch)
tree1d4141bca722343f1a1d3fb004f52a5269865787 /libavcodec/svq1.c
parent5da42be1921604a97e6180f242c78c484a179314 (diff)
downloadffmpeg-53db1cae1c2d555d207563e0197809faf23b3dcc.tar.gz
data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
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;
}