From 430dcd52b6683f92ddc3e089de46a5acda999ea1 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 12 Mar 2023 18:50:57 +0100 Subject: [PATCH] avcodec/libopencore-amr: Use frame_number instead of frame_num Forgotten in 6b6f7db81932f94876ff4bcfd2da0582b8ab897e. Reviewed-by: Marton Balint Signed-off-by: Andreas Rheinhardt --- libavcodec/libopencore-amr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index fd9e6e6343..641a156129 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcodec/libopencore-amr.c @@ -106,8 +106,8 @@ static int amr_nb_decode_frame(AVCodecContext *avctx, AVFrame *frame, enum Mode dec_mode; int packet_size, ret; - ff_dlog(avctx, "amr_decode_frame buf=%p buf_size=%d frame_count=%d!!\n", - buf, buf_size, avctx->frame_number); + ff_dlog(avctx, "amr_decode_frame buf=%p buf_size=%d frame_count=%"PRId64"!!\n", + buf, buf_size, avctx->frame_num); /* get output buffer */ frame->nb_samples = 160;