diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-30 15:20:18 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-31 04:00:09 +0300 |
commit | e6c5102fb472395681e227759caae05c5541bcf9 (patch) | |
tree | 058f309ac9ee2e1c3ff620edefd6099f3e614b78 /libavcodec | |
parent | a067d449558ac4ff69b53c7e09fdd6396d6f7c0c (diff) |
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>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/roqvideodec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c index 93c6e9ddf3..36b4ddf755 100644 --- a/libavcodec/roqvideodec.c +++ b/libavcodec/roqvideodec.c @@ -39,7 +39,6 @@ static void roqvideo_decode_frame(RoqContext *ri, GetByteContext *gb) unsigned long chunk_size = 0; int i, j, k, nv1, nv2, vqflg = 0, vqflg_pos = -1; int vqid, xpos, ypos, xp, yp, x, y, mx, my; - int frame_stats[2][4] = {{0},{0}}; roq_qcell *qcell; int64_t chunk_start; @@ -89,7 +88,6 @@ static void roqvideo_decode_frame(RoqContext *ri, GetByteContext *gb) vqflg_pos = 7; } vqid = (vqflg >> (vqflg_pos * 2)) & 0x3; - frame_stats[0][vqid]++; vqflg_pos--; switch(vqid) { @@ -124,7 +122,6 @@ static void roqvideo_decode_frame(RoqContext *ri, GetByteContext *gb) vqflg_pos = 7; } vqid = (vqflg >> (vqflg_pos * 2)) & 0x3; - frame_stats[1][vqid]++; vqflg_pos--; switch(vqid) { case RoQ_ID_MOT: |