You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
rtpenc: use avcodec_get_name to report unsupported codecs.
This commit is contained in:
@@ -87,7 +87,7 @@ static int rtp_write_header(AVFormatContext *s1)
|
|||||||
return -1;
|
return -1;
|
||||||
st = s1->streams[0];
|
st = s1->streams[0];
|
||||||
if (!is_supported(st->codec->codec_id)) {
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user