From 4a289624545c559107fac93597b23289a8b15c9f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 8 Nov 2012 15:46:51 +0100 Subject: [PATCH] libopencore-amr: fix av_log() argument Signed-off-by: Michael Niedermayer --- libavcodec/libopencore-amr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index 62d6806224..df038dfcbf 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcodec/libopencore-amr.c @@ -278,7 +278,7 @@ static int amr_nb_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, written = Encoder_Interface_Encode(s->enc_state, s->enc_mode, samples, avpkt->data, 0); av_dlog(avctx, "amr_nb_encode_frame encoded %u bytes, bitrate %u, first byte was %#02x\n", - written, s->enc_mode, frame[0]); + written, s->enc_mode, avpkt->data[0]); /* Get the next frame pts/duration */ ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts,