mirror of
https://github.com/mpv-player/mpv
synced 2025-04-07 01:53:06 +00:00
this unrelated and erroneus change was applied on my previous commit, reverted
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18875 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5b4ec50d44
commit
f86db2816c
@ -25,7 +25,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ERR ((void *) -1)
|
#define ERR ((void *) -1)
|
||||||
#define eol(x) ((x)=='\r' || (x)=='\n' || (x)=='\0')
|
|
||||||
|
|
||||||
#ifdef USE_ICONV
|
#ifdef USE_ICONV
|
||||||
#include <iconv.h>
|
#include <iconv.h>
|
||||||
@ -68,6 +67,10 @@ int sub_format=SUB_INVALID;
|
|||||||
unsigned long previous_sub_end;
|
unsigned long previous_sub_end;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static int eol(char p) {
|
||||||
|
return (p=='\r' || p=='\n' || p=='\0');
|
||||||
|
}
|
||||||
|
|
||||||
/* Remove leading and trailing space */
|
/* Remove leading and trailing space */
|
||||||
static void trail_space(char *s) {
|
static void trail_space(char *s) {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user