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:
83ff2a1
)
flvenc: use avcodec_get_name to report unsupported codecs.
author
Nicolas George
<nicolas.george@normalesup.org>
Wed, 17 Aug 2011 14:17:30 +0000
(16:17 +0200)
committer
Nicolas George
<nicolas.george@normalesup.org>
Mon, 22 Aug 2011 10:13:27 +0000
(12:13 +0200)
libavformat/flvenc.c
patch
|
blob
|
history
diff --git
a/libavformat/flvenc.c
b/libavformat/flvenc.c
index
363309c
..
5bf9809
100644
(file)
--- a/
libavformat/flvenc.c
+++ b/
libavformat/flvenc.c
@@
-384,7
+384,7
@@
static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
flags = enc->codec_tag;
if(flags == 0) {
- av_log(enc, AV_LOG_ERROR, "video codec %
X not compatible with flv\n",enc->codec_id
);
+ av_log(enc, AV_LOG_ERROR, "video codec %
s not compatible with flv\n", avcodec_get_name(enc->codec_id)
);
return -1;
}