From 6e190f90cab37e5d83b369c16b3f31b3382a67a4 Mon Sep 17 00:00:00 2001 From: "Baik S. Hyun" Date: Tue, 29 Jun 2021 13:20:57 +0900 Subject: [PATCH] add debug msg --- cgo/ffmpeg/ffmpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgo/ffmpeg/ffmpeg.c b/cgo/ffmpeg/ffmpeg.c index a3127ef..60413ef 100644 --- a/cgo/ffmpeg/ffmpeg.c +++ b/cgo/ffmpeg/ffmpeg.c @@ -16,8 +16,8 @@ int decode(AVCodecContext *avctx, AVFrame *frame, uint8_t *data, int size, int * *got_frame = 0; - printf("avctx: %p", avctx); - printf("avctx->internal: %p", avctx->internal); + printf("avctx: %p\n", avctx); + printf("avctx->internal: %p\n", avctx->internal); ret = avcodec_send_packet(avctx, &pkt);