diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-12-16 18:01:34 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-08 17:54:34 +0100 |
commit | 67deba8a416d818f3d95aef0aa916589090396e2 (patch) | |
tree | f8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavformat/spdifenc.c | |
parent | 59d2b00d201935c16408a2917957d89a170fe58f (diff) | |
download | ffmpeg-67deba8a416d818f3d95aef0aa916589090396e2.tar.gz |
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavformat/spdifenc.c')
-rw-r--r-- | libavformat/spdifenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c index a19bcab4c9..a9b3b522b3 100644 --- a/libavformat/spdifenc.c +++ b/libavformat/spdifenc.c @@ -469,7 +469,8 @@ static int spdif_write_header(AVFormatContext *s) return AVERROR(ENOMEM); break; default: - av_log(s, AV_LOG_ERROR, "codec not supported\n"); + avpriv_report_missing_feature(s, "Codec %d", + s->streams[0]->codecpar->codec_id); return AVERROR_PATCHWELCOME; } return 0; |