avcodec/utils: add error message for the recode_subtitle() without iconv case
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 21 May 2014 15:33:58 +0000 (17:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 May 2014 15:39:26 +0000 (17:39 +0200)
Based on the assert command which was removed in ef0c466a0fef4657d3f46cc9adea97e76a8e4faa

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c

index da61331..75e07dc 100644 (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
 }