diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-03-31 10:40:34 +0200 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-03-31 10:40:34 +0200 |
commit | e3287077ecff33bd02227b85ec760fe47d796f54 (patch) | |
tree | d94ccb713264f90ad6048bfab85ef7fb85807fca /libavformat/spdifenc.c | |
parent | b6c293d5e609a7b651c47d3de4749840ae00492e (diff) | |
parent | 67deba8a416d818f3d95aef0aa916589090396e2 (diff) | |
download | ffmpeg-e3287077ecff33bd02227b85ec760fe47d796f54.tar.gz |
Merge commit '67deba8a416d818f3d95aef0aa916589090396e2'
* commit '67deba8a416d818f3d95aef0aa916589090396e2':
Use avpriv_report_missing_feature() where appropriate
Merged-by: Clément Bœsch <cboesch@gopro.com>
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 daf1c1f87c..b47ec123e8 100644 --- a/libavformat/spdifenc.c +++ b/libavformat/spdifenc.c @@ -470,7 +470,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; |