summaryrefslogtreecommitdiffstats
path: root/subreader.c
Commit message (Expand)AuthorAgeFilesLines
* cleanup: don't check for NULL before free()diego2010-11-081-2/+2
* subreader: More strict autodetection of RT subtitle formatreimar2010-11-021-6/+1
* subreader.c: malloc+memset -> calloccehoyos2010-11-021-4/+2
* subreader.c: Simplify comparisoncehoyos2010-11-021-2/+1
* subreader: fix crash with un-commonly formated ASS filesaurel2010-11-021-2/+3
* Simplify code: make open_stream() accept NULL file_format argumentreimar2010-11-021-2/+1
* subreader.c: place conditionally declaration under #ifdefdiego2010-11-021-0/+2
* subreader.c: Extract duplicated code into a separate function.reimar2010-11-021-6/+11
* subreader.c: check for max line count in SAMI subtitle readerreimar2010-11-021-2/+2
* cosmetics: Fix typo in commenthyc2010-11-021-1/+1
* options: move -alang and -slang to option structUoti Urpala2010-05-221-2/+6
* subreader.c: allow compilation with old FriBiDi 0.10Uoti Urpala2010-05-161-0/+4
* subreader: remove pointless messageUoti Urpala2010-05-081-1/+2
* subreader.c: fix fribidi variable typeUoti Urpala2010-05-081-2/+1
* Merge svn changes up to r30815Uoti Urpala2010-03-101-45/+50
|\
| * Extend stream_read_line to support reading lines from UTF-16 encoded filesreimar2010-02-281-45/+50
* | Merge svn changes up to r30798Uoti Urpala2010-03-101-3/+3
|\|
| * sub_utf8 is handled as a value, not flags everywhere else, so changereimar2010-02-281-1/+1
| * Make array describing the subtitle reader modules const.reimar2010-02-281-2/+2
* | Merge svn changes up to r30748Uoti Urpala2010-03-101-2/+2
|\|
| * Do not cast the results of malloc/calloc/realloc.diego2010-02-261-2/+2
* | Merge svn changes up to r30663Uoti Urpala2010-03-101-1/+1
|\|
| * Replace platform preprocessor check by HAVE_DOS_PATHS.komh2010-02-191-1/+1
* | Merge svn changes up to r30475Uoti Urpala2010-03-091-2/+16
|\|
| * Add license header to all top-level files missing them.diego2010-01-301-2/+16
* | Merge svn changes up to r30419Uoti Urpala2010-01-251-9/+12
|\|
| * Fix sub_free to actually free the subtitle data.reimar2010-01-221-6/+6
| * Fix a memory leak in the subreader.reimar2010-01-221-1/+4
| * Replace strncat by av_strlcat which is easier to verify for correctness.reimar2010-01-221-2/+2
* | Merge svn changes up to r30264Uoti Urpala2010-01-251-4/+4
|\|
| * Use !isspace() to replace isalnum() to avoid filename mismatch under MBCSzuxy2010-01-101-4/+4
* | subreader.c: fix excessive memory use with some external subtitlesUoti Urpala2010-01-161-0/+5
|/
* Finally rename the STREAM_SEEK define to MP_STREAM_SEEK, there are just too manyreimar2009-11-221-1/+1
* Fix crash with partial fribidi conversion.reimar2009-11-221-1/+1
* Make fribidi (i.e. right-to-left) support work with embedded subtitles.reimar2009-11-221-3/+13
* sub_fribidi should be static, it is not used outside subreader.creimar2009-11-201-1/+1
* Use early return instead of block over whole function.reimar2009-11-201-2/+2
* Use FFMAX instead of a custom max macro.reimar2009-11-201-4/+2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-16/+16
* Get rid of some more trailing whitespacereynaldo2009-05-121-76/+76
* Reduce subtitle parsing verbosity.diego2009-04-121-5/+4
* Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.diego2008-10-131-1/+1
* Rename font-related preprocessor directives.diego2008-08-071-16/+16
* Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;diego2008-08-011-12/+12
* Start unifying names of internal preprocessor directives.diego2008-07-301-23/+23
* Clear iconv conversion state after each subtitle line.eugeni2008-05-291-0/+5
* cosmetics: Remove useless parentheses from return statements.diego2008-05-161-1/+1
* subreader.c: remove unused codeuau2008-04-121-25/+0
* Move sub_utf8_prev declaration out of the DUMPSUBS #ifdef.diego2008-03-181-1/+1
* On Win32 and OS/2, 'x:filename' path style without '\' path separatordiego2008-02-241-1/+2
* Fix illegal identifiers: Names starting with __ or _ and uppercase are reserveddiego2008-01-061-1/+1
* Typo fix in messagereimar2007-12-221-1/+1
* The function parameter 'preferred_language' should be const char *.ulion2007-12-171-2/+2
* Cleanup guess_buffer_cp() a bit, remove tmp variable, break the loop on success.iive2007-10-281-7/+6
* Our enca code uses strdup() on the input encoding name, as we don't modify it...iive2007-10-281-12/+7
* Revert r24103, it was nonsense and add a comment that explains the codereimar2007-09-221-1/+3
* -subfps makes sense for frame-based subtitle formats as well!reimar2007-08-201-1/+1
* Revert r23443, it breaks compilation without libass.eugeni2007-06-021-16/+30
* Recode the whole subtitle file to utf-8 before parsing.eugeni2007-06-011-30/+16
* 10l: comparison of char* ptrs with string literalsfaust32007-02-191-2/+2
* Fix code updating subtitle array which only moved the text, not endpts.uau2007-02-051-1/+3
* In .srt, any line containing only spaces and tabs marks the end of theeugeni2007-01-181-2/+5
* Document sub_add_text and sub_clear_textreimar2007-01-071-0/+18
* Subtitle handling cleanup: factor out code for parsing embedded subtitlesreimar2007-01-061-0/+71
* redone subcp_recode: get rid of static buffer, skip lines that failed toreimar2006-10-181-45/+11
* Fix missleading msg printed when subcp_open is given NULL as parameter (like ...gpoirier2006-09-181-1/+2
* introduce new 'stream' directory for all stream layer related components and ...ben2006-07-311-1/+1
* corrects some casts that previously discarded the const qualifier. Patch by S...reynaldo2006-07-271-3/+3
* marks several function without a prototype which arent used outside its sourc...reynaldo2006-07-131-18/+18
* Marks several string parameters as const when they are not modified in the fu...reynaldo2006-07-091-1/+1
* Split guess_cp() in two functions:eugeni2006-07-071-10/+22
* this unrelated and erroneus change was applied on my previous commit, revertedreynaldo2006-07-011-1/+4
* rm unnecesary void* casts - part 1reynaldo2006-07-011-28/+25
* more sizeof(char) funreynaldo2006-06-301-2/+2
* Fix problem when subtitle file name is shorter than ".utf-8"gpoirier2006-06-141-1/+1
* fix uninitialized pointer value being passed to open_stream, where it is used...gpoirier2006-06-141-0/+1
* Use 0 and 1 instead of FRIBIDI_FALSE and FRIBIDI_TRUE which are nouau2006-05-181-2/+2
* Fix:rathann2006-05-141-1/+1
* Part 4 of otvos attila's oattila AT chello-hu mp_msg changes, no modification...reynaldo2006-04-231-6/+6
* Acording to manpage -dumpmicrodvdsub dumps to dumpsub.sub not dumpsub.txtreynaldo2006-04-061-3/+3
* if stream is not seekable calling enca would prevent the real parsing of subt...iive2006-03-171-1/+2
* 10l forgotten stream_reset to clear the EOF flaghenry2006-03-171-0/+2
* And 10L for me. Fix the forgoten enca_fd.albeu2006-03-161-1/+1
* Move the subread from FILE to stream_t.albeu2006-03-161-49/+50
* strdup subtitle filename at a more appropriate place, fixing memleaks andreimar2005-06-011-2/+1
* more paranoid return value checkinghenry2005-05-241-1/+1
* strdup() of a NULL pointer, truckload of cola for mehenry2005-05-091-3/+11
* bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>faust32005-02-041-4/+4
* document global variables used with fribidifaust32004-10-181-3/+3
* correctly display the commas of most hebrew subtitles on the left sidefaust32004-10-181-1/+2
* This time is a patch to improve subtitle alignment management. Itfaust32004-09-151-5/+37
* subtitle autodetection regardles of case (bug #65), patches Michal Svec <rebe...faust32004-09-021-1/+1
* fixes a crash and unchecked string-handling in ENCA code.reimar2004-07-281-38/+21
* string handling security fixesdiego2004-06-251-1/+1
* 1e6lhenry2004-05-211-5/+7
* more cola for jindrichrfelker2004-05-091-1/+1
* 1000000l for sig11 without -subcp!!! (and 1l for my first commit :)rfelker2004-05-091-2/+2
* ENCA support (http://trific.ath.cx/software/enca/)henry2004-05-081-4/+85
* MPL2 subreader, patch by Cezary Jackiewicz (cjackiewicz@poczta.onet.pl)alex2004-04-061-1/+30
* skip {...} parts in SAME subs, patch by Salvatore Falcoalex2004-04-061-0/+5
* Fix the PJS (aka dunnowhat) subtitlesattila2004-01-291-7/+38
* prevent subreader from segfaulting when sami subs dont haveattila2004-01-241-3/+14
* 10lluran2003-11-191-1/+1
* sub autoloading fix for windowsfaust32003-10-091-0/+3
* subtitles priority calculation correctionatlka2003-09-231-1/+1
* corrected utf8 files autoselectionatlka2003-09-221-1/+2
* Subtitle alignment & smart splitting by Salvatore Falcohenry2003-09-211-2/+13
* Jacosub files can have the extension '.js' too. Patch by Vladimir Mosgalin <m...alex2003-09-021-1/+1
* Support for case insensitive string matching in SAMI subtitle files. Patch by...mosu2003-08-251-4/+18
* Fixes FriBiDi support and extends it with configure options. Patch by Raindel...alex2003-08-171-2/+5
* 10lalex2003-08-101-2/+4
* another attempt to fix the subtitle searchinghenry2003-08-091-6/+13
* some more cola - misplaced breakhenry2003-08-081-8/+3
* 1, micro-speedup 2, fixed 10l: only prefer utf8 if iconv is presentalex2003-07-281-2/+4
* fix against dummy solaris sprintf, bug reported by Gotz Waschkalex2003-07-271-4/+9
* ASS supporthenry2003-07-201-2/+10
* always treat .utf* files as UTF-8atlka2003-07-011-2/+0
* sub_utf8 fiddlingatlka2003-07-011-6/+12
* small correction of sub_utf8 restoring between reading sub filesatlka2003-07-011-11/+12
* prefer UTF-8 encoding subs and automatically recognize them by suffixatlka2003-06-271-3/+17
* 10Lhenry2003-06-251-1/+1
* warning fixes by Dominikalex2003-06-011-1/+1
* unleakalex2003-05-311-0/+2
* cleanups/bugfixeshenry2003-04-091-42/+32
* option for sub match fuzziness levelhenry2003-04-091-6/+17
* 10l fix by Salvatore Falco <salvatore.falco@katamail.com>alex2003-04-091-1/+1
* turn most of the subtitle matching fuzziness off by defaulthenry2003-04-081-1/+3
* fix compilation without iconvhenry2003-04-071-0/+4
* support for multiple subtitle files by Marcin Wojdyr <wojdyr@unipress.waw.pl>henry2003-04-071-147/+329
* hebrew support using fribidi libs, patch by Raindel Shachar <raindel@techunix...alex2003-03-211-0/+62
* rt subtitle fixesarpi2003-02-071-1/+10
* compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>arpi2003-02-021-2/+2
* sub_utf8 handling hopefully fixedhenry2003-01-281-2/+2
* maybe fix ogm vs. iconvarpi2003-01-281-4/+6
* Add a command line option (-sub-no-text-pp) to disable subtitlesarpi2003-01-271-1/+3
* - add subcppontscho2003-01-211-3/+15
* 1) Removed the code to remove {} from sub_read_line_ssaarpi2003-01-191-33/+49
* bunkus: fixed a small bug with skipping "{...}" in ssa subsmosu2003-01-131-1/+1
* Overlapping subs are a feature mainly present in subtitlingarpi2003-01-101-77/+182
* Since version 2.7 the file extension for JACOsub changed fromarpi2003-01-091-6/+6
* some subviewer versions uses : instead of . or ,arpi2003-01-051-2/+2
* 10larpi2003-01-041-1/+1
* 10larpi2003-01-031-2/+2
* support for subviewer format using dots instead of commas:arpi2002-12-291-2/+2
* This patch adds a call to subcp_recode1(), so this subtitles too arearpi2002-12-281-0/+23
* Attached is a small patch to fix a couple of problems I found when usingarpi2002-12-281-1/+16
* dump subtitles in SAMI formatarpi2002-12-051-0/+53
* optional (compile-time switch) subtitles-sorting featurearpi2002-12-051-4/+83
* overlapping subtitles support is now optional, can be disabled (-nooverlapsub)arpi2002-12-051-2/+7
* dump in JACOsub formatarpi2002-12-041-0/+49
* I recently sent a patch for a new subtitles format, JACOsub. Since then Iarpi2002-11-161-155/+151
* allow max 0.2s overlapping without splitting subsarpi2002-11-161-0/+12
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-1/+1
* This patch is to add support for overlapping subtitles, that isarpi2002-10-301-5/+103
* JACOSub is another subtitling format, whose specifications are at:arpi2002-10-301-5/+200
* small memleaksarpi2002-10-171-0/+2
* Enable -subfps for time based subtitles, too.atmos42002-10-061-1/+17
* Skip html tags (like <i>) inside subviewer subtitles.atmos42002-10-061-2/+21
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugarpi2002-09-221-3/+3
* New option for mplayer: -dumpmicrodvdsubkmkaplan2002-09-211-0/+34
* FreeBSD iconv change/fixnexus2002-08-281-4/+0
* Correct dump_srt millisecond outputkmkaplan2002-07-251-3/+11
* subrip sometimes uses pipe as newline separator - patch by MOLNAR Andor <dolp...arpi2002-07-061-2/+3
* support for SSA v4 by Dirk <noisyb at gmx.net>alex2002-06-291-4/+26
* msg/i18n fixes and some printf->mp_msgarpi2002-06-031-19/+20
* sub_read_line_ssa sig11 fix by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut...arpi2002-05-311-2/+2
* possible sig11 fixed in .rt parser (weisskreuzova.zip)arpi2002-05-301-2/+7
*