summaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdsubdec.c
Commit message (Collapse)AuthorAgeFilesLines
* dvdsubdec: Check memory allocationsVittorio Giovara2015-02-171-2/+9
|
* dvdsubdec: Do not leak on failure pathLuca Barbato2014-11-211-3/+6
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1198262
* cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-151-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-151-2/+2
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove a number of unnecessary dsputil.h #includesDiego Biurrun2014-04-041-1/+1
|
* dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl namesDiego Biurrun2014-03-131-1/+1
| | | | Also switch from "tbl" to "tab" name suffixes.
* Remove #undefs for formerly forbidden system functionsDiego Biurrun2013-11-071-3/+0
| | | | | The macros forbidding the system functions no longer exist, obviating the need for the #undefs.
* dvdsubdec: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-311-3/+7
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-1/+1
|
* Remove commented-out debug #define cruftDiego Biurrun2013-05-161-2/+0
|
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-041-1/+2
|
* lavc: Make pointers to ff_cropTbl constMartin Storsjö2013-04-081-1/+1
| | | | | | There's no point in these pointers not being const. Signed-off-by: Martin Storsjö <martin@martin.st>
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-071-1/+2
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* dvdsubdec: parse the size from the extradataClément Bœsch2013-01-191-0/+6
| | | | | Signed-off-by: Alexandra Khirnova <alexandra.khirnova@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dvdsubdec: Support palette in mkvJoakim Plate2013-01-151-5/+55
| | | | | | | Matroska stores palette information as plain text in extradata. Signed-off-by: Alexandra Khirnova <alexandra.khirnova@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-1/+1
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-281-4/+2
| | | | Also remove one pointless zero initialization in rangecoder.c.
* Remove some stray unnecessary ffmpeg references.Diego Biurrun2011-11-021-1/+1
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-8/+4
| | | | It's more readable and less prone to breakage.
* dvdsubdec: fix incorrect colors.Alexandre Colucci2011-05-241-1/+1
| | | | | | | | | | | | On DVD and HD-DVD colors are stored in the order YCrCb (and not YCbCr) as mentioned in the specifications: see DVD Specifications for Read-Only Disc / Part 3, 4.3 Program Chain Information (7) PGC_SP_PLT see DVD Specifications for High Definition Disc, 5.2 Navigation for Standard Content (11) PGC_SDSP_PLT see DVD Specifications for High Definition Disc, 5.2 Navigation for Standard Content (12) PGC_HDSP_PLT see DVD Specifications for High Definition Disc, 5.5 Presentation Data (4) SET_COLOR2 When decoding a DVD or HD-DVD subtitle, the colors were incorrectly set. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-291-8/+8
| | | | dprintf clashes with POSIX.1-2008
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-261-1/+1
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* remove useless castAurelien Jacobs2010-07-271-1/+1
| | | | Originally committed as revision 24553 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move colorspace.h from libavcodec to libavutil.Stefano Sabatini2010-07-011-1/+1
| | | | | | Avoid a compile-time dependency of the pad filter on libavcodec. Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-1/+1
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Always allocate a buffer of AVPALETTE_SIZE for palette in the subtitleReimar Döffinger2009-08-201-2/+1
| | | | | | | decoders instead of as small as possible. This avoids completely unnecessary issues with e.g. libswscale. Originally committed as revision 19673 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify initialization of AVSubtitle by using memset.Reimar Döffinger2009-08-151-5/+1
| | | | Originally committed as revision 19643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix cmd_pos bounds check to avoid the overflow case.Reimar Döffinger2009-08-151-1/+1
| | | | Originally committed as revision 19640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.Diego Biurrun2009-07-301-26/+11
| | | | Originally committed as revision 19550 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set subtitle type in DVD and XSUB subtitle decoders.Janne Grunau2009-07-261-0/+1
| | | | | | Patch by Janne Grunau <ja?ne-f?mpeg jannau net>. Originally committed as revision 19512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-131-1/+1
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set AVSubtitle format to 0. Neither dvdsubdec nor xsubdec intializes formatBjörn Axelsson2009-02-121-0/+1
| | | | | | | to 0, but ffplay checks it before displaying subtitles (ffplay.c:1437). patch by Björn Axelsson, gecko acc.umu se Originally committed as revision 17170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.Michael Niedermayer2009-01-031-22/+22
| | | | Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Forgot to update (I likely missed it due to its similar name to dvb...)Michael Niedermayer2009-01-031-42/+45
| | | | Originally committed as revision 16414 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dvdsubdec: allow compilation with -DDEBUGMåns Rullgård2008-07-131-0/+2
| | | | Originally committed as revision 14212 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-121-1/+1
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to AVCodec declarations.Stefano Sabatini2008-04-271-0/+1
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constsMichael Niedermayer2008-02-011-1/+1
| | | | | | I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove some empty close/init functions in avcodecAurelien Jacobs2007-11-251-12/+2
| | | | | | patch by Alex Originally committed as revision 11093 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent two lines.Ian Caulfield2007-07-241-2/+2
| | | | | | Patch by: Ian Caulfield, ian caulfield & gmx at Originally committed as revision 9789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add HD-DVD subpicture decoding.Ian Caulfield2007-07-241-36/+143
| | | | | | Patch by: Ian Caulfield, ian caulfield & gmx at Originally committed as revision 9788 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename "palette" to "colormap" when it's referring to the mapping from a 2-bitIan Caulfield2007-07-241-13/+13
| | | | | | | encoded color to a 4-bit index into the DVD palette. Patch by: Ian Caulfield, ian caulfield & gmx at Originally committed as revision 9787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move dvdsub parser to its own file.Diego Biurrun2007-05-061-60/+0
| | | | Originally committed as revision 8910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the getbe16 functions and use the AV_RB16 macro instead. Patch by IanPanagiotis Issaris2007-01-301-11/+6
| | | | | | Caulfield, ian dot caulfield gmail dot com. Originally committed as revision 7768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a bug in the DVD subtitle decoder where subtitles with odd heights would notIan Caulfield2007-01-301-1/+1
| | | | | | | have the last line decoded, leaving the bottom line of the bitmap array uninitialised. Patch by Ian Caulfield, ian dot caulfield gmail dot com. Originally committed as revision 7767 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename dvdsub.c to dvdsubdec.c.Diego Biurrun2006-10-271-0/+477
Originally committed as revision 6815 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud