[FFmpeg-cvslog] avformat/g729dec: Fix av_log() formating string

Michael Niedermayer git at videolan.org
Thu Jun 23 21:55:04 CEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Jun 23 21:37:05 2016 +0200| [388f0957660027418ef931adaf21346e19ec2b67] | committer: Michael Niedermayer

avformat/g729dec: Fix av_log() formating string

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavformat/g729dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/g729dec.c b/libavformat/g729dec.c
index 337681b..7b67fc4 100644
--- a/libavformat/g729dec.c
+++ b/libavformat/g729dec.c
@@ -56,7 +56,7 @@ static int g729_read_header(AVFormatContext *s)
         st->codecpar->block_align = 10;
         break;
     default:
-        av_log(s, AV_LOG_ERROR, "Invalid bit_rate value %d. "
+        av_log(s, AV_LOG_ERROR, "Invalid bit_rate value %"PRId64". "
                "Only 6400 and 8000 b/s are supported.", s->bit_rate);
         return AVERROR(EINVAL);
     }



More information about the ffmpeg-cvslog mailing list