[FFmpeg-cvslog] avcodec/utils: add error message for the recode_subtitle() without iconv case

Michael Niedermayer git at videolan.org
Wed May 21 17:40:06 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May 21 17:33:58 2014 +0200| [91a8262b9dbc6e1ee9a2d4f376c5a50920b83512] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=91a8262b9dbc6e1ee9a2d4f376c5a50920b83512
---

 libavcodec/utils.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index da61331..75e07dc 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
 }



More information about the ffmpeg-cvslog mailing list