Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Szatmary committed Oct 12, 2017
1 parent e7ea38d commit 7694891
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ on playback. But caption parsing with out of order frames behaviour is currently
# Mac Os/Linux
Install build dependencies (git, cmake, a compiler such as xcode, gcc or clang and optionally re2c and ffmpeg)
* run `cmake . && make`
* or to compile without re2c `cmake -DENABLE_RE2C=OFF . && make`
* or to compile with re2c (required if .re2c file is modified) `cmake -DENABLE_RE2C=ON . && make`
* finally `sudo make install` to install
# Windows
I have never tested libcaption in windows. It is written in pure C with no dependencies,
Expand Down
2 changes: 1 addition & 1 deletion src/eia608_from_utf8.c.cached
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by re2c 1.0.2 on Tue Oct 10 11:21:38 2017 */
/* Generated by re2c 1.0.2 on Thu Oct 12 15:03:09 2017 */
/**********************************************************************************************/
/* The MIT License */
/* */
Expand Down
2 changes: 1 addition & 1 deletion src/utf8.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ size_t utf8_char_length(const utf8_char_t* c)
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 3, 3, 4, 0
};

return _utf8_char_length[(c[0] >> 3)&0x1F];
return _utf8_char_length[(c[0] >> 3) & 0x1F];
}

int utf8_char_whitespace(const utf8_char_t* c)
Expand Down

0 comments on commit 7694891

Please sign in to comment.