1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/roqvideodec: Remove set-but-unused frame stats

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-08-30 14:20:18 +02:00
parent a067d44955
commit e6c5102fb4

View File

@ -39,7 +39,6 @@ static void roqvideo_decode_frame(RoqContext *ri, GetByteContext *gb)
unsigned long chunk_size = 0; unsigned long chunk_size = 0;
int i, j, k, nv1, nv2, vqflg = 0, vqflg_pos = -1; int i, j, k, nv1, nv2, vqflg = 0, vqflg_pos = -1;
int vqid, xpos, ypos, xp, yp, x, y, mx, my; int vqid, xpos, ypos, xp, yp, x, y, mx, my;
int frame_stats[2][4] = {{0},{0}};
roq_qcell *qcell; roq_qcell *qcell;
int64_t chunk_start; int64_t chunk_start;
@ -89,7 +88,6 @@ static void roqvideo_decode_frame(RoqContext *ri, GetByteContext *gb)
vqflg_pos = 7; vqflg_pos = 7;
} }
vqid = (vqflg >> (vqflg_pos * 2)) & 0x3; vqid = (vqflg >> (vqflg_pos * 2)) & 0x3;
frame_stats[0][vqid]++;
vqflg_pos--; vqflg_pos--;
switch(vqid) { switch(vqid) {
@ -124,7 +122,6 @@ static void roqvideo_decode_frame(RoqContext *ri, GetByteContext *gb)
vqflg_pos = 7; vqflg_pos = 7;
} }
vqid = (vqflg >> (vqflg_pos * 2)) & 0x3; vqid = (vqflg >> (vqflg_pos * 2)) & 0x3;
frame_stats[1][vqid]++;
vqflg_pos--; vqflg_pos--;
switch(vqid) { switch(vqid) {
case RoQ_ID_MOT: case RoQ_ID_MOT: