avcodec/utils: add error message for the recode_subtitle() without iconv case
Based on the assert command which was removed in ef0c466a0fef4657d3f46cc9adea97e76a8e4faa Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ef0c466a0f
commit
91a8262b9d
@ -2553,6 +2553,7 @@ end:
|
||||
iconv_close(cd);
|
||||
return ret;
|
||||
#else
|
||||
av_log(avctx, AV_LOG_ERROR, "requesting subtitles recoding without iconv");
|
||||
return AVERROR(EINVAL);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user