aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avienc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-16 18:01:34 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-08 17:54:34 +0100
commit67deba8a416d818f3d95aef0aa916589090396e2 (patch)
treef8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavformat/avienc.c
parent59d2b00d201935c16408a2917957d89a170fe58f (diff)
downloadffmpeg-67deba8a416d818f3d95aef0aa916589090396e2.tar.gz
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r--libavformat/avienc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index e4743981b8..84a316f787 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -225,8 +225,7 @@ static int avi_write_header(AVFormatContext *s)
// XSUB subtitles behave like video tracks, other subtitles
// are not (yet) supported.
if (par->codec_id != AV_CODEC_ID_XSUB) {
- av_log(s, AV_LOG_ERROR,
- "Subtitle streams other than DivX XSUB are not supported by the AVI muxer.\n");
+ avpriv_report_missing_feature(s, "Subtitle streams other than DivX XSUB");
return AVERROR_PATCHWELCOME;
}
case AVMEDIA_TYPE_VIDEO: