diff options
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; |