diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-08 15:46:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-08 15:46:51 +0100 |
commit | 4a289624545c559107fac93597b23289a8b15c9f (patch) | |
tree | 64756101cd00edbfd5aa567c8e72b033da8c832c | |
parent | bc17a6f5c012522186592fcbc3acaa7701c4b208 (diff) | |
download | ffmpeg-4a289624545c559107fac93597b23289a8b15c9f.tar.gz |
libopencore-amr: fix av_log() argument
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/libopencore-amr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |