aboutsummaryrefslogtreecommitdiffhomepage
path: root/subreader.c
Commit message (Collapse)AuthorAge
* Fix missleading msg printed when subcp_open is given NULL as parameter (like ↵Gravatar gpoirier2006-09-18
| | | | | | | | | | | | | | as demux_ogg and demux_mkv do) Patch by: Zuxy Meng %zuxy.meng A gmail P com% Original Thread: Message-ID: <a18e06b40609160400l74263121p5f41eaf3549caf5@mail.gmail.com> Date: Sat, 16 Sep 2006 19:00:57 +0800 To: mplayer-dev-eng@mplayerhq.hu Subject: [MPlayer-dev-eng] [PATCH] Remove erroneaus warning message in subreader.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19883 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduce new 'stream' directory for all stream layer related components and ↵Gravatar ben2006-07-31
| | | | | | split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
* corrects some casts that previously discarded the const qualifier. Patch by ↵Gravatar reynaldo2006-07-27
| | | | | | Stefan Huehner, stefan AT Huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19203 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks several function without a prototype which arent used outside its ↵Gravatar reynaldo2006-07-13
| | | | | | sourcefile as static, Patch by Stefan Huehner - stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19071 b3059339-0415-0410-9bf9-f77b7e298cf2
* Marks several string parameters as const when they are not modified in the ↵Gravatar reynaldo2006-07-09
| | | | | | function, Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split guess_cp() in two functions:Gravatar eugeni2006-07-07
| | | | | | | | | - guess_buffer_cp() determines the encoding of text, given a pointer to a buffer and its length; - guess_cp() reads some data from stream and calls guess_buffer_cp() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18941 b3059339-0415-0410-9bf9-f77b7e298cf2
* this unrelated and erroneus change was applied on my previous commit, revertedGravatar reynaldo2006-07-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18875 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary void* casts - part 1Gravatar reynaldo2006-07-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18874 b3059339-0415-0410-9bf9-f77b7e298cf2
* more sizeof(char) funGravatar reynaldo2006-06-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18861 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix problem when subtitle file name is shorter than ".utf-8"Gravatar gpoirier2006-06-14
| | | | | | | | | | Patch by Evgeniy Stepanov < eugeni P stepanov A gmail P com > Original thread: Date: May 23, 2006 10:57 PM Subject: [MPlayer-dev-eng] [BUG][PATCH] uninitialized memory access in subreader.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18707 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix uninitialized pointer value being passed to open_stream, where it is ↵Gravatar gpoirier2006-06-14
| | | | | | | | | | | | used in comparison. Patch by Eugeniy Stepanov < eugeni P stepanov A gmail P com > Original Thread: Date: May 23, 2006 10:57 PM Subject: [MPlayer-dev-eng] [BUG][PATCH] uninitialized memory access in subreader.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18706 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use 0 and 1 instead of FRIBIDI_FALSE and FRIBIDI_TRUE which are noGravatar uau2006-05-18
| | | | | | | | | | longer defined in the current development version of FriBidi. This reportedly allows compiling MPlayer with the development version which is needed for Arabic support (some used functions are marked as deprecated though). Should be safe with older FriBidi versions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18551 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix:Gravatar rathann2006-05-14
| | | | | | | subreader.c:1333: warning: assignment discards qualifiers from pointer target type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part 4 of otvos attila's oattila AT chello-hu mp_msg changes, no ↵Gravatar reynaldo2006-04-23
| | | | | | modifications this time git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Acording to manpage -dumpmicrodvdsub dumps to dumpsub.sub not dumpsub.txtGravatar reynaldo2006-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18046 b3059339-0415-0410-9bf9-f77b7e298cf2
* if stream is not seekable calling enca would prevent the real parsing of ↵Gravatar iive2006-03-17
| | | | | | subtitles. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17886 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l forgotten stream_reset to clear the EOF flagGravatar henry2006-03-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17885 b3059339-0415-0410-9bf9-f77b7e298cf2
* And 10L for me. Fix the forgoten enca_fd.Gravatar albeu2006-03-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17882 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the subread from FILE to stream_t.Gravatar albeu2006-03-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17880 b3059339-0415-0410-9bf9-f77b7e298cf2
* strdup subtitle filename at a more appropriate place, fixing memleaks andGravatar reimar2005-06-01
| | | | | | | double frees. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15604 b3059339-0415-0410-9bf9-f77b7e298cf2
* more paranoid return value checkingGravatar henry2005-05-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15563 b3059339-0415-0410-9bf9-f77b7e298cf2
* strdup() of a NULL pointer, truckload of cola for meGravatar henry2005-05-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15383 b3059339-0415-0410-9bf9-f77b7e298cf2
* bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>Gravatar faust32005-02-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14643 b3059339-0415-0410-9bf9-f77b7e298cf2
* document global variables used with fribidiGravatar faust32004-10-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13681 b3059339-0415-0410-9bf9-f77b7e298cf2
* correctly display the commas of most hebrew subtitles on the left sideGravatar faust32004-10-18
| | | | | | | | of the sentence with fribidi, make the old behaviour optional patch by Shachar Raindel <shacharr <at> gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13680 b3059339-0415-0410-9bf9-f77b7e298cf2
* This time is a patch to improve subtitle alignment management. ItGravatar faust32004-09-15
| | | | | | | | | | | implements SSA alignment styles; note that alignment for SSA files is not actually supported, but for SAMI files (which use the same alignment codes) it is. patch by Salvatore Falco <sfalco at studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13344 b3059339-0415-0410-9bf9-f77b7e298cf2
* subtitle autodetection regardles of case (bug #65), patches Michal Svec ↵Gravatar faust32004-09-02
| | | | | | <rebel at atrey.karlin.mff.cuni.cz> and Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13230 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes a crash and unchecked string-handling in ENCA code.Gravatar reimar2004-07-28
| | | | | | | Also does a bit of cleanup. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12910 b3059339-0415-0410-9bf9-f77b7e298cf2
* string handling security fixesGravatar diego2004-06-25
| | | | | | | | patch by Nicholas Kain, Alexander Strasser <eclipse7@gmx.net> reviewed by Pontscho, Alex, Rich git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12647 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1e6lGravatar henry2004-05-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12494 b3059339-0415-0410-9bf9-f77b7e298cf2
* more cola for jindrichGravatar rfelker2004-05-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12456 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000000l for sig11 without -subcp!!! (and 1l for my first commit :)Gravatar rfelker2004-05-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12450 b3059339-0415-0410-9bf9-f77b7e298cf2
* ENCA support (http://trific.ath.cx/software/enca/)Gravatar henry2004-05-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12444 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPL2 subreader, patch by Cezary Jackiewicz (cjackiewicz@poczta.onet.pl)Gravatar alex2004-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12139 b3059339-0415-0410-9bf9-f77b7e298cf2
* skip {...} parts in SAME subs, patch by Salvatore FalcoGravatar alex2004-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12137 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the PJS (aka dunnowhat) subtitlesGravatar attila2004-01-29
| | | | | | | patch by Salvador Eduardo Tropea <salvador@inti.gov.ar> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11874 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent subreader from segfaulting when sami subs dont haveGravatar attila2004-01-24
| | | | | | | | a <P> at the beginning. patch by Fabien Tassin <fta+mplayer@sofaraway.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11839 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lGravatar luran2003-11-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11497 b3059339-0415-0410-9bf9-f77b7e298cf2
* sub autoloading fix for windowsGravatar faust32003-10-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11063 b3059339-0415-0410-9bf9-f77b7e298cf2
* subtitles priority calculation correctionGravatar atlka2003-09-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10933 b3059339-0415-0410-9bf9-f77b7e298cf2
* corrected utf8 files autoselectionGravatar atlka2003-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10930 b3059339-0415-0410-9bf9-f77b7e298cf2
* Subtitle alignment & smart splitting by Salvatore FalcoGravatar henry2003-09-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10917 b3059339-0415-0410-9bf9-f77b7e298cf2
* Jacosub files can have the extension '.js' too. Patch by Vladimir Mosgalin ↵Gravatar alex2003-09-02
| | | | | | <mosgalin@VM10124.spb.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10802 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for case insensitive string matching in SAMI subtitle files. Patch ↵Gravatar mosu2003-08-25
| | | | | | by Bruno Lecointre. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10693 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixes FriBiDi support and extends it with configure options. Patch by ↵Gravatar alex2003-08-17
| | | | | | Raindel Shachar <raindel@techunix.technion.ac.il> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10650 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lGravatar alex2003-08-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10556 b3059339-0415-0410-9bf9-f77b7e298cf2
* another attempt to fix the subtitle searchingGravatar henry2003-08-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10552 b3059339-0415-0410-9bf9-f77b7e298cf2
* some more cola - misplaced breakGravatar henry2003-08-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10545 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1, micro-speedup 2, fixed 10l: only prefer utf8 if iconv is presentGravatar alex2003-07-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10495 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix against dummy solaris sprintf, bug reported by Gotz WaschkGravatar alex2003-07-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10487 b3059339-0415-0410-9bf9-f77b7e298cf2