summaryrefslogtreecommitdiff
path: root/libavcodec/dvbsubdec.c
Commit message (Collapse)AuthorAge
* Merge commit '7effebde78977fafce935776153ea2f7c0981fa3'Clément Bœsch2017-03-19
|\ | | | | | | | | | | | | * commit '7effebde78977fafce935776153ea2f7c0981fa3': dvbsubdec: Remove disabled, near-duplicate debug code Merged-by: Clément Bœsch <u@pkh.me>
| * dvbsubdec: Remove disabled, near-duplicate debug codeDiego Biurrun2016-08-17
| |
| * dvbsubdec: Use NULL instead of 0 as pointer valueDiego Biurrun2016-08-03
| |
* | dvbsubdec: fix division by zero in compute_default_clutAndreas Cadhalpun2016-11-10
| | | | | | | | | | | | | | | | This problem was introduced in commit 4b90dcb8493552c17a811c8b1e6538dae4061f9d. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | Merge commit 'b7e64fba7f37cc0399beae844f0a5dbef9219376'Clément Bœsch2016-06-21
|\| | | | | | | | | | | | | * commit 'b7e64fba7f37cc0399beae844f0a5dbef9219376': Reduce the scope of some variables Merged-by: Clément Bœsch <u@pkh.me>
| * Reduce the scope of some variablesDiego Biurrun2016-05-11
| | | | | | | | | | This avoids unused variable warnings after the next version bump. Also drop a trace level av_log() call that is in the way.
* | avcodec: use AV_OPT_TYPE_BOOL in a bunch of placesClément Bœsch2015-12-04
| |
* | Merge commit 'a17a7661906ba295d67afd80ac0770422e1b02b3'Hendrik Leppkes2015-10-22
|\| | | | | | | | | | | | | * commit 'a17a7661906ba295d67afd80ac0770422e1b02b3': lavc: Add data and linesize to AVSubtitleRect Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavc: Add data and linesize to AVSubtitleRectVittorio Giovara2015-10-21
| | | | | | | | | | | | | | | | | | | | | | | | Use the new fields directly instead of the ones from AVPicture. This removes a layer of indirection which serves no pratical purpose whatsoever, and will help in removing AVPicture structure completely later. Every subtitle encoder/decoder seamlessly points to the new arrays, so it is possible to deprecate AVSubtitleRect.pict. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '1da2a20763ae9ca579d5fd20763065871ddf6311'Hendrik Leppkes2015-10-05
|\| | | | | | | | | | | | | * commit '1da2a20763ae9ca579d5fd20763065871ddf6311': dvbsubdec: Fix function return type Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dvbsubdec: Fix function return typeVittorio Giovara2015-10-04
| |
* | FF_OPT_TYPE_* -> AV_OPT_TYPE_*.Ronald S. Bultje2015-08-18
| |
* | avcodec/dvbsubdec: Print field lens in case they are too lergeMichael Niedermayer2015-08-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc: Remove newline from avpriv_request_sample() calls.Carl Eugen Hoyos2015-08-11
| |
* | avcodec/dvbsubdec: Do not stop decoding at a invalid depthMichael Niedermayer2015-08-05
| | | | | | | | | | | | | | | | This corrects parsing the later elements Fixes Ticket4754 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/dvbsub: Do not fail on clut depth 0.Carl Eugen Hoyos2015-08-04
| | | | | | | | Fixes ticket #4752.
* | avcodec/dvbsubdec: Allow selecting the substream, or all substreamsMichael Niedermayer2015-08-04
| | | | | | | | | | | | Fixes Ticket 2161 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dvbsubdec: Implement display definition segment fallback from ETSI ↵Michael Niedermayer2015-07-29
| | | | | | | | | | | | | | | | | | EN 300 743 V1.3.1 Fixes: subtitles.ts Fixes: Ticket679 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dvbsubdec: Add option to select when to computer clut ↵Michael Niedermayer2015-07-27
| | | | | | | | | | | | | | (always/never/"if needed") Reviewed-by: Anshul <anshul.ffmpeg@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dvbsubdec: Compute default CLUT based on bitmap analysisMichael Niedermayer2015-07-26
| | | | | | | | | | | | | | | | | | | | | | Fixes displaying subtitles before any CLUT has been received Fixes Ticket153 This will of course not display these initial subtitles in the correct color (as that is not known at that point) but they should look clean and not corrupted Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dvbsubdec: Fix buf_size check in ↵banastasov2015-05-30
| | | | | | | | | | | | | | | | dvbsub_parse_display_definition_segment() Fixes Ticket4326 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: Clear w/h/size on region buffer allocation failureMichael Niedermayer2015-05-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: Do not return a value from a function returning voidMichael Niedermayer2015-04-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25'Michael Niedermayer2015-04-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25': lavc: Replace av_dlog and tprintf with internal macros Conflicts: libavcodec/aacdec.c libavcodec/audio_frame_queue.c libavcodec/bitstream.c libavcodec/dcadec.c libavcodec/dnxhddec.c libavcodec/dvbsubdec.c libavcodec/dvdec.c libavcodec/dvdsubdec.c libavcodec/get_bits.h libavcodec/gifdec.c libavcodec/h264.h libavcodec/h264_cabac.c libavcodec/h264_cavlc.c libavcodec/h264_loopfilter.c libavcodec/h264_refs.c libavcodec/imc.c libavcodec/interplayvideo.c libavcodec/jpeglsdec.c libavcodec/libopencore-amr.c libavcodec/mjpegdec.c libavcodec/mpeg12dec.c libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_parser.c libavcodec/pngdec.c libavcodec/ratecontrol.c libavcodec/rv10.c libavcodec/svq1dec.c libavcodec/vqavideo.c libavcodec/wmadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
| |
* | Merge commit '607ad990d31e6be52980970e5ce8cd25ab3de812'Michael Niedermayer2015-01-27
|\| | | | | | | | | | | | | | | | | | | * commit '607ad990d31e6be52980970e5ce8cd25ab3de812': dvbsubdec: check memory allocations and propagate errors Conflicts: libavcodec/dvbsubdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dvbsubdec: check memory allocations and propagate errorsVittorio Giovara2015-01-27
| |
* | avcodec/dvbsubdec: Check get_region() return valueMichael Niedermayer2015-01-17
| | | | | | | | | | | | Fixes null pointer dereference with DEBUG enabled Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: Return proper error codes from more functionsMichael Niedermayer2015-01-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: Add some av_malloc() failure checksMichael Niedermayer2015-01-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: Remove redundant "DVBSub error" prefixMichael Niedermayer2014-12-06
| | | | | | | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: Pass context to av_log()Michael Niedermayer2014-12-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: av_assert* instead of assert()Michael Niedermayer2014-11-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: Cleanup on *malloc failureMichael Niedermayer2014-11-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '443502aed8b814d883825e52e91e4f018955aa66'Michael Niedermayer2014-11-11
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '443502aed8b814d883825e52e91e4f018955aa66': dvbsubdec: move shared codepath Conflicts: libavcodec/dvbsubdec.c The merged code is ignored and the factorization redone with the code that is in FFmpeg. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dvbsubdec: move shared codepathVittorio Giovara2014-11-11
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1238839
* | avcodec/dvbsubdec: Fix 8bit non_mod caseMichael Niedermayer2014-11-11
| | | | | | | | | | | | Untested, i failed to find a sample which triggers this case Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: use av_freep() for safteyMichael Niedermayer2014-11-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '2383323661f3b8342b2c4d356fcfe8c5d1b045f8'Michael Niedermayer2014-11-11
|\| | | | | | | | | | | | | | | | | | | * commit '2383323661f3b8342b2c4d356fcfe8c5d1b045f8': dvbsubdec: improve error checking Conflicts: libavcodec/dvbsubdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dvbsubdec: improve error checkingVittorio Giovara2014-11-11
| | | | | | | | | | | | | | | | | | Use av_mallocz_array instead of iterating and check the returned memory. Check returned memory and cleanly exit in case of error during the loop. Avoid a null pointer dereference for invalid data. CC: libav-stable@libav.org Bug-Id: CID 29575
| * dvbsubdec: add missing breakJernej Fijačko2014-11-11
| | | | | | | | | | | | | | Fix a memory leak too. CC: libav-stable@libav.org Bug-Id: CID 732230
* | avcodec/dvbsubdec: Add return code to save_subtitle_set()Michael Niedermayer2014-11-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: use av_freep() to avoid leaving stale pointersMichael Niedermayer2014-10-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: merge declaration and initMichael Niedermayer2014-10-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: make compute_edt user settableMichael Niedermayer2014-09-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: dont mix integers with pointersMichael Niedermayer2014-08-16
| | | | | | | | | | Reviewed-by: James Darnley <james.darnley@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: removed unnecessary null check for subtitleAnshul Maheshwari2014-07-02
| | | | | | | | | | | | In refrence to coverity defect 1224278 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: fix ignoring blank frame by updating got_outputAnshul Maheshwari2014-06-27
| | | | | | | | | | | | fix ticket 3737 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: support returning exact end timesAnshul Maheshwari2014-06-22
| | | | | | | | | | | | fixess part of ticket #2024 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: Split save_subtitle_set() outAnshul Maheshwari2014-06-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>