aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-10-03 17:12:48 +0000
committerDiego Biurrun <diego@biurrun.de>2006-10-03 17:12:48 +0000
commit36c32bdddfe9d19d3ea57c6b1fbe30ca84c3d740 (patch)
tree4c9121aea216399330a7448f303bb29a36076cbb
parentf8d611285025cae8c933dc1228a2b1db5de5cf85 (diff)
downloadffmpeg-36c32bdddfe9d19d3ea57c6b1fbe30ca84c3d740.tar.gz
Remove unused variables and the corresponding warnings along with them.
Originally committed as revision 6536 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/eval.c1
-rw-r--r--libavcodec/snow.c2
-rw-r--r--libavcodec/vc1.c2
-rw-r--r--libavcodec/vmnc.c2
-rw-r--r--libavcodec/vp3.c2
-rw-r--r--libavformat/rm.c2
6 files changed, 3 insertions, 8 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c
index 9414bc956c..bd29d7e48c 100644
--- a/libavcodec/eval.c
+++ b/libavcodec/eval.c
@@ -86,7 +86,6 @@ static int8_t si_prefixes['z' - 'E' + 1]={
*/
static double av_strtod(const char *name, char **tail) {
double d;
- int p = 0;
char *next;
d = strtod(name, &next);
/* if parsing succeeded, check for and interpret postfixes */
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index c154f4ebc7..e3497ef07d 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -2938,7 +2938,6 @@ static int get_block_rd(SnowContext *s, int mb_x, int mb_y, int plane_index, con
Plane *p= &s->plane[plane_index];
const int block_size = MB_SIZE >> s->block_max_depth;
const int block_w = plane_index ? block_size/2 : block_size;
- const uint8_t *obmc = plane_index ? obmc_tab[s->block_max_depth+1] : obmc_tab[s->block_max_depth];
const int obmc_stride= plane_index ? block_size : 2*block_size;
const int ref_stride= s->current_picture.linesize[plane_index];
uint8_t *dst= s->current_picture.data[plane_index];
@@ -3041,7 +3040,6 @@ static int get_4block_rd(SnowContext *s, int mb_x, int mb_y, int plane_index){
uint8_t *src= s-> input_picture.data[plane_index];
static const DWTELEM zero_dst[4096]; //FIXME
const int b_stride = s->b_width << s->block_max_depth;
- const int b_height = s->b_height<< s->block_max_depth;
const int w= p->width;
const int h= p->height;
int distortion= 0;
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 21a98902f1..f46d148fd0 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -2108,8 +2108,6 @@ static always_inline int scale_mv(int value, int bfrac, int inv, int qs)
*/
static inline void vc1_b_mc(VC1Context *v, int dmv_x[2], int dmv_y[2], int direct, int mode)
{
- int t;
-
if(v->use_ic) {
v->mv_mode2 = v->mv_mode;
v->mv_mode = MV_PMODE_INTENSITY_COMP;
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c
index 739962a382..07e2b3cf15 100644
--- a/libavcodec/vmnc.c
+++ b/libavcodec/vmnc.c
@@ -115,7 +115,7 @@ static void load_cursor(VmncContext *c, uint8_t *src)
static void put_cursor(uint8_t *dst, int stride, VmncContext *c, int dx, int dy)
{
- int i, j, t;
+ int i, j;
int w, h, x, y;
w = c->cur_w;
if(c->width < c->cur_x + c->cur_w) w = c->width - c->cur_x;
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index d8f6270157..594b842b8b 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -607,7 +607,7 @@ static void init_dequantizer(Vp3DecodeContext *s)
{
int ac_scale_factor = s->coded_ac_scale_factor[s->quality_index];
int dc_scale_factor = s->coded_dc_scale_factor[s->quality_index];
- int i, j, plane, inter, qri, bmi, bmj, qistart;
+ int i, plane, inter, qri, bmi, bmj, qistart;
debug_vp3(" vp3: initializing dequantization tables\n");
diff --git a/libavformat/rm.c b/libavformat/rm.c
index ceae5c3c30..ba1cd6699a 100644
--- a/libavformat/rm.c
+++ b/libavformat/rm.c
@@ -645,7 +645,7 @@ static int rm_read_header(AVFormatContext *s, AVFormatParameters *ap)
unsigned int tag, v;
int tag_size, size, codec_data_size, i;
int64_t codec_pos;
- unsigned int h263_hack_version, start_time, duration;
+ unsigned int start_time, duration;
char buf[128];
int flags = 0;