[FFmpeg-cvslog] avcodec/libopencore-amr: Use frame_number instead of frame_num

Andreas Rheinhardt git at videolan.org
Tue Mar 14 00:45:12 EET 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Mar 12 18:50:57 2023 +0100| [430dcd52b6683f92ddc3e089de46a5acda999ea1] | committer: Andreas Rheinhardt

avcodec/libopencore-amr: Use frame_number instead of frame_num

Forgotten in 6b6f7db81932f94876ff4bcfd2da0582b8ab897e.

Reviewed-by: Marton Balint <cus at passwd.hu>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=430dcd52b6683f92ddc3e089de46a5acda999ea1
---

 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;



More information about the ffmpeg-cvslog mailing list