aboutsummaryrefslogtreecommitdiffhomepage
path: root/sub_cc.c
Commit message (Collapse)AuthorAge
* cosmetics: make some arguments const, "unsigned char"->uint8_tGravatar reimar2010-12-16
| | | | | | | | | | | | | | | | | | Mark input-only buffers as const. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32652 b3059339-0415-0410-9bf9-f77b7e298cf2 Use uint8_t type instead of unsigned char. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32653 b3059339-0415-0410-9bf9-f77b7e298cf2 Mark input buffer that is never modified as const. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32654 b3059339-0415-0410-9bf9-f77b7e298cf2 Mark input-only buffer as const. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32655 b3059339-0415-0410-9bf9-f77b7e298cf2
* sub_cc: modify parsing to fix problem with one sampleGravatar reimar2010-11-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32609 b3059339-0415-0410-9bf9-f77b7e298cf2
* sub_cc: Allow selecting the Close Captioning channelGravatar reimar2010-11-14
| | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32607 b3059339-0415-0410-9bf9-f77b7e298cf2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32608 b3059339-0415-0410-9bf9-f77b7e298cf2
* sub_cc.c: minor cleanupGravatar reimar2010-11-14
| | | | | | | | | | Avoid unnecessary (). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32599 b3059339-0415-0410-9bf9-f77b7e298cf2 Use calloc instead of malloc+memset. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32600 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup: don't check for NULL before free()Gravatar diego2010-11-08
| | | | | | patch by Clément Bœsch, ubitux gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32598 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move code to avoid forward declarations in top-level .c filesGravatar diego2010-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32421 b3059339-0415-0410-9bf9-f77b7e298cf2
* sub_cc: remote pointless assignmentsGravatar reimar2010-11-02
| | | | | | | Remove pointless assignments that would assign the value it already was initialized to. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31710 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge svn changes up to r30475Gravatar Uoti Urpala2010-03-09
|\
| * Add license header to all top-level files missing them.Gravatar diego2010-01-30
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
| |
| * whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
|/ | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some reformating to avoid two too long linesGravatar reynaldo2009-05-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29296 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of some more trailing whitespaceGravatar reynaldo2009-05-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29295 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove file names from file header, it only causes trouble.Gravatar diego2009-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28959 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializedGravatar diego2008-02-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Basic support for Closed Captioning Roll-up mode.Gravatar voroshil2007-10-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24858 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sanity-check number of lines in CC subtitleGravatar reimar2006-11-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21253 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup for uselessly complicated closed-caption subtitle handlingGravatar reimar2006-11-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21252 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a sanity check to unsafe-looking code.Gravatar uau2006-11-25
| | | | | | | | Does the memcpy to internal buffer here have any purpose besides enabling more potential buffer overflows? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21250 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change some printf calls to fprintf.Gravatar diego2006-03-27
| | | | | | | based on a patch by Attila Ötvös, oattila,,@,,chello,,.,,hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17972 b3059339-0415-0410-9bf9-f77b7e298cf2
* include config.h before includes that need itGravatar iive2006-02-16
| | | | | | | based on patch by Alan Curry <pacman at theworld com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17631 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalGravatar arpi2002-11-06
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugGravatar arpi2002-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* codmetics :)Gravatar arpi2002-07-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6792 b3059339-0415-0410-9bf9-f77b7e298cf2
* DVD Closed Captioning support, patch by Matteo Giani <matgiani@ctonet.it>, ↵Gravatar atmos42002-07-25
small changes by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6785 b3059339-0415-0410-9bf9-f77b7e298cf2