summaryrefslogtreecommitdiff
path: root/libavcodec/libdavs2.c
diff options
context:
space:
mode:
authorhwren <hwrenx@126.com>2018-11-02 21:30:09 +0800
committerMark Thompson <sw@jkqxz.net>2018-11-18 18:55:10 +0000
commitb75afd25ba9d1a3321341dad2e9bea4273e82536 (patch)
treef121c65d3b4c7461f52e6a02324cc2ebe6cf714e /libavcodec/libdavs2.c
parentb67435702090e9a4f6f284d276ac2df0aafc00df (diff)
lavc/libdavs2: remove unused frame counter
Signed-off-by: hwren <hwrenx@126.com>
Diffstat (limited to 'libavcodec/libdavs2.c')
-rw-r--r--libavcodec/libdavs2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
index cadf995444..3b9efe05b1 100644
--- a/libavcodec/libdavs2.c
+++ b/libavcodec/libdavs2.c
@@ -32,8 +32,6 @@ typedef struct DAVS2Context {
davs2_param_t param; // decoding parameters
davs2_packet_t packet; // input bitstream
- int decoded_frames;
-
davs2_picture_t out_frame; // output data, frame data
davs2_seq_info_t headerset; // output data, sequence header
@@ -102,7 +100,6 @@ static int davs2_dump_frames(AVCodecContext *avctx, davs2_picture_t *pic,
frame->pict_type = pic->type;
frame->format = avctx->pix_fmt;
- cad->decoded_frames++;
return 1;
}