aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2011-08-17 16:17:47 +0200
committerNicolas George <nicolas.george@normalesup.org>2011-08-22 12:13:27 +0200
commit355ac7ff6cba314390f5fb2bf4680b29cd02a9a8 (patch)
treeb507c4c061958d9e29776367eeae35dd139a4dd1 /libavformat
parent1c58264e62601c0c8945b4e19eef04512f70425f (diff)
downloadffmpeg-355ac7ff6cba314390f5fb2bf4680b29cd02a9a8.tar.gz
rtpenc: use avcodec_get_name to report unsupported codecs.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtpenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index 8664f46b66..a99fca0aed 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -87,7 +87,7 @@ static int rtp_write_header(AVFormatContext *s1)
return -1;
st = s1->streams[0];
if (!is_supported(st->codec->codec_id)) {
- av_log(s1, AV_LOG_ERROR, "Unsupported codec %x\n", st->codec->codec_id);
+ av_log(s1, AV_LOG_ERROR, "Unsupported codec %s\n", avcodec_get_name(st->codec->codec_id));
return -1;
}