[FFmpeg-devel,v3,2/3] lavc/libdavs2: remove unused frame counter

Submitted by hwren on Nov. 1, 2018, 4:14 a.m.

Details

Message ID 1541045681-5374-2-git-send-email-hwrenx@126.com
State New
Headers show

Commit Message

hwren Nov. 1, 2018, 4:14 a.m.
Signed-off-by: hwren <hwrenx@126.com>
---
 libavcodec/libdavs2.c | 3 ---
 1 file changed, 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
index e463b2e..a1815d2 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;
 }