Browse Source

flvenc: use avcodec_get_name to report unsupported codecs.

tags/n0.9
Nicolas George 14 years ago
parent
commit
1c58264e62
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/flvenc.c

+ 1
- 1
libavformat/flvenc.c View File

@@ -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;
}



Loading…
Cancel
Save