mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 02:42:21 +00:00
lavc/libdavs2: remove unused frame counter
Signed-off-by: hwren <hwrenx@126.com>
This commit is contained in:
parent
b674357020
commit
b75afd25ba
@ -32,8 +32,6 @@ typedef struct DAVS2Context {
|
|||||||
davs2_param_t param; // decoding parameters
|
davs2_param_t param; // decoding parameters
|
||||||
davs2_packet_t packet; // input bitstream
|
davs2_packet_t packet; // input bitstream
|
||||||
|
|
||||||
int decoded_frames;
|
|
||||||
|
|
||||||
davs2_picture_t out_frame; // output data, frame data
|
davs2_picture_t out_frame; // output data, frame data
|
||||||
davs2_seq_info_t headerset; // output data, sequence header
|
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->pict_type = pic->type;
|
||||||
frame->format = avctx->pix_fmt;
|
frame->format = avctx->pix_fmt;
|
||||||
|
|
||||||
cad->decoded_frames++;
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user