diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-08-17 16:17:47 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2011-08-22 12:13:27 +0200 |
commit | 355ac7ff6cba314390f5fb2bf4680b29cd02a9a8 (patch) | |
tree | b507c4c061958d9e29776367eeae35dd139a4dd1 /libavformat/rtpenc.c | |
parent | 1c58264e62601c0c8945b4e19eef04512f70425f (diff) | |
download | ffmpeg-355ac7ff6cba314390f5fb2bf4680b29cd02a9a8.tar.gz |
rtpenc: use avcodec_get_name to report unsupported codecs.
Diffstat (limited to 'libavformat/rtpenc.c')
-rw-r--r-- | libavformat/rtpenc.c | 2 |
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; } |