Replace assert with AVERROR when recode_subtitle called w/o ICONV.
authorDale Curtis <dalecurtis@chromium.org>
Tue, 20 May 2014 19:03:57 +0000 (12:03 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 May 2014 15:33:21 +0000 (17:33 +0200)
commitef0c466a0fef4657d3f46cc9adea97e76a8e4faa
tree2d78b3064ca05f50def3661a32d93afa7c78c79c
parente61055fd8ba3fee2d4f575b655eb65d7edd039bc
Replace assert with AVERROR when recode_subtitle called w/o ICONV.

recode_subtitle() is called implicitly by avformat_find_stream_info().
As such, clients which disable ICONV always crash if a file contains
subtitles; even if they don't care about them.

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