diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-08-17 16:17:30 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2011-08-22 12:13:27 +0200 |
commit | 1c58264e62601c0c8945b4e19eef04512f70425f (patch) | |
tree | 84d549afd34d9f905858ead127cd6d2fed7001d4 /libavformat | |
parent | 83ff2a1153c363a3badf82329375c6ef2b7848ec (diff) | |
download | ffmpeg-1c58264e62601c0c8945b4e19eef04512f70425f.tar.gz |
flvenc: use avcodec_get_name to report unsupported codecs.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/flvenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index 363309c75a..5bf9809358 100644 --- 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; } |