diff options
author | wm4 <wm4@nowhere> | 2016-02-10 11:58:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-10 11:58:05 +0100 |
commit | 57ea367963865051d1b2b7019fcebeec78238535 (patch) | |
tree | 2fbdbf090324315fda54dd5ecd7ee8164eb02e02 /demux/demux_libarchive.c | |
parent | 7caecc53b0b8ac1805fa498fb9dbe9379f3053d4 (diff) | |
download | mpv-57ea367963865051d1b2b7019fcebeec78238535.tar.bz2 mpv-57ea367963865051d1b2b7019fcebeec78238535.tar.xz |
player: assume setlocale() returns NULL if locales are not supported
It would make somewhat sense for libcs which don't implement locales at
all, such as Bionic.
Beyond that, setlocale() is specified that it can return NULL, and we
shouldn't crash if that happens.
Diffstat (limited to 'demux/demux_libarchive.c')
0 files changed, 0 insertions, 0 deletions