Use avpriv_report_missing_feature() where appropriate

This commit is contained in:
Diego Biurrun 2015-12-16 18:01:34 +01:00
parent 59d2b00d20
commit 67deba8a41
33 changed files with 73 additions and 79 deletions

View file

@ -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: