lavc/utils: make sure the iconv descriptor can be opened only once.
authorClément Bœsch <ubitux@gmail.com>
Fri, 8 Mar 2013 19:38:01 +0000 (20:38 +0100)
committerClément Bœsch <ubitux@gmail.com>
Fri, 8 Mar 2013 19:51:57 +0000 (20:51 +0100)
commit160979f4b4cd06833a7a5c7fa8794e7a05095bce
tree9385ec59b789b9f211d5e61893b6b59ab7211749
parent307dc32a1a7152ebacdcf9a0e58226f786ac639a
lavc/utils: make sure the iconv descriptor can be opened only once.

This prevents trying to do some subtitles conversion for each event when
the character encoding is not found. It now aborts early instead of
flooding stderr.
libavcodec/utils.c