avcodec/utils: add error message for the recode_subtitle() without iconv case

Based on the assert command which was removed in ef0c466a0f

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-05-21 17:33:58 +02:00
parent ef0c466a0f
commit 91a8262b9d
1 changed files with 1 additions and 0 deletions

View File

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