summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2021-09-18 23:10:30 +0800
committerLimin Wang <lance.lmwang@gmail.com>2021-09-29 18:00:13 +0800
commite99be1735a59652828655be777de5264ef374b5d (patch)
tree62d718e2ec8485551acd57a65bc29b4aae9f842a /libavcodec
parentb2538ce578ef729c5437465fd845e877d5151a39 (diff)
avcodec: remove the unused low_delay
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264dec.c1
-rw-r--r--libavcodec/mpegutils.c1
-rw-r--r--libavcodec/mpegutils.h1
-rw-r--r--libavcodec/mpegvideo.c2
4 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
index 5ca41cc91c..6a5bf51f5d 100644
--- a/libavcodec/h264dec.c
+++ b/libavcodec/h264dec.c
@@ -944,7 +944,6 @@ static int finalize_frame(H264Context *h, AVFrame *dst, H264Picture *out, int *g
out->mb_type,
out->qscale_table,
out->motion_val,
- NULL,
out->mb_width, out->mb_height, out->mb_stride, 1);
}
}
diff --git a/libavcodec/mpegutils.c b/libavcodec/mpegutils.c
index e5105ecc58..4cbc474543 100644
--- a/libavcodec/mpegutils.c
+++ b/libavcodec/mpegutils.c
@@ -102,7 +102,6 @@ void ff_draw_horiz_band(AVCodecContext *avctx,
void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict, uint8_t *mbskip_table,
uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2],
- int *low_delay,
int mb_width, int mb_height, int mb_stride, int quarter_sample)
{
if ((avctx->export_side_data & AV_CODEC_EXPORT_DATA_MVS) && mbtype_table && motion_val[0]) {
diff --git a/libavcodec/mpegutils.h b/libavcodec/mpegutils.h
index 5aeff47bbd..07705854b3 100644
--- a/libavcodec/mpegutils.h
+++ b/libavcodec/mpegutils.h
@@ -142,7 +142,6 @@ void ff_draw_horiz_band(AVCodecContext *avctx, AVFrame *cur, AVFrame *last,
*/
void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict, uint8_t *mbskip_table,
uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2],
- int *low_delay,
int mb_width, int mb_height, int mb_stride, int quarter_sample);
#endif /* AVCODEC_MPEGUTILS_H */
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 5383f9dead..ba5b51955e 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1417,7 +1417,7 @@ void ff_mpv_frame_end(MpegEncContext *s)
void ff_print_debug_info(MpegEncContext *s, Picture *p, AVFrame *pict)
{
ff_print_debug_info2(s->avctx, pict, s->mbskip_table, p->mb_type,
- p->qscale_table, p->motion_val, &s->low_delay,
+ p->qscale_table, p->motion_val,
s->mb_width, s->mb_height, s->mb_stride, s->quarter_sample);
}