OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c58264
)
rtpenc: use avcodec_get_name to report unsupported codecs.
author
Nicolas George
<nicolas.george@normalesup.org>
Wed, 17 Aug 2011 14:17:47 +0000
(16:17 +0200)
committer
Nicolas George
<nicolas.george@normalesup.org>
Mon, 22 Aug 2011 10:13:27 +0000
(12:13 +0200)
libavformat/rtpenc.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpenc.c
b/libavformat/rtpenc.c
index
8664f46
..
a99fca0
100644
(file)
--- 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;
}