libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 1f1df3eedb116205e18b65843e0fc468869092da
parent 96dda0b67d27b9077b21f0c010321e867a2f83c3
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 16 Feb 2009 06:46:09 +0000

fixing warnings

Diffstat:
Msrc/plugins/ffmpeg/libavcodec/utils.c | 2++
Msrc/plugins/flvextractor.c | 4++--
Msrc/plugins/tarextractor.c | 4++--
3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/plugins/ffmpeg/libavcodec/utils.c b/src/plugins/ffmpeg/libavcodec/utils.c @@ -138,11 +138,13 @@ void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height){ w_align=64; h_align=64; } + break; case PIX_FMT_RGB555: if(s->codec_id == CODEC_ID_RPZA){ w_align=4; h_align=4; } + break; case PIX_FMT_PAL8: if(s->codec_id == CODEC_ID_SMC){ w_align=4; diff --git a/src/plugins/flvextractor.c b/src/plugins/flvextractor.c @@ -521,8 +521,8 @@ typedef struct #define FLV_TAG_HEADER_SIZE 11 static int readFLVHeader(const unsigned char **data, - const unsigned char *end, - FLVHeader *hdr) + const unsigned char *end, + FLVHeader *hdr) { const unsigned char *ptr = *data; diff --git a/src/plugins/tarextractor.c b/src/plugins/tarextractor.c @@ -1,6 +1,6 @@ /* This file is part of libextractor. - (C) 2002, 2003, 2004, 2005 Vidyut Samanta and Christian Grothoff + (C) 2002, 2003, 2004, 2005, 2009 Vidyut Samanta and Christian Grothoff libextractor is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -342,7 +342,7 @@ libextractor_tar_extract (const char *filename, unsigned format_member = 0; unsigned long long fmode; unsigned long long fsize; - long long ftime; + long long ftime = TAR_TIME_FENCE; char typeFlag = -1; const char *nul_pos; unsigned int tar_prefix_length = 0;