add debug msg

master v1.0.17
Baik S. Hyun 4 years ago
parent 6de92c8b0e
commit 4fe4c408aa

@ -5,6 +5,7 @@
#include <libswresample/swresample.h> #include <libswresample/swresample.h>
#include <libavutil/opt.h> #include <libavutil/opt.h>
#include <string.h> #include <string.h>
#include <stdio.h>
#include <libswscale/swscale.h> #include <libswscale/swscale.h>
#include "ffmpeg.h" #include "ffmpeg.h"
@ -15,6 +16,9 @@ int decode(AVCodecContext *avctx, AVFrame *frame, uint8_t *data, int size, int *
*got_frame = 0; *got_frame = 0;
printf("avctx: %p", avctx)
printf("avctx->internal: %p", avctx->internal)
ret = avcodec_send_packet(avctx, &pkt); ret = avcodec_send_packet(avctx, &pkt);
av_packet_unref(&pkt); av_packet_unref(&pkt);

Loading…
Cancel
Save