aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-21 17:33:58 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-21 17:39:26 +0200
commit91a8262b9dbc6e1ee9a2d4f376c5a50920b83512 (patch)
treedb344bf17fcd68f6381b41ce9c4b61dc063f7e91
parentef0c466a0fef4657d3f46cc9adea97e76a8e4faa (diff)
downloadffmpeg-91a8262b9dbc6e1ee9a2d4f376c5a50920b83512.tar.gz
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>
-rw-r--r--libavcodec/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index da61331407..75e07dcebc 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -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
}