summaryrefslogtreecommitdiff
path: root/libavcodec/dvbsubdec.c
Commit message (Collapse)AuthorAge
* 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>
* | avcodec/dvbsubdec: add AVClass to contextAnshul Maheshwari2014-06-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: restructure version checkAnshul Maheshwari2014-06-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: add some basic av_log debuging supportMichael Niedermayer2014-06-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: use av_mallocz_array()Michael Niedermayer2014-04-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '3dc6272bed7890a49080e18eacf3c7a4a6594b0d'Michael Niedermayer2014-04-05
|\| | | | | | | | | | | | | | | | | | | | | * commit '3dc6272bed7890a49080e18eacf3c7a4a6594b0d': Remove a number of unnecessary dsputil.h #includes Conflicts: libavcodec/h264pred.c libavcodec/vc1dsp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove a number of unnecessary dsputil.h #includesDiego Biurrun2014-04-04
| |
* | Merge commit '05563ccacc98fd185affdbf8cbaf094caf36b852'Michael Niedermayer2014-03-14
|\| | | | | | | | | | | | | | | | | | | | | * commit '05563ccacc98fd185affdbf8cbaf094caf36b852': dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl names Conflicts: libavcodec/bit_depth_template.c libavcodec/motionpixels_tablegen.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl namesDiego Biurrun2014-03-13
| | | | | | | | Also switch from "tbl" to "tab" name suffixes.
* | avcodec/dvbsubdec: DVB subtitles decoder: support of 5 bytes extradata formatmrlika2014-02-09
| | | | | | | | | | Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: Remove unused display_list_sizeMichael Niedermayer2014-01-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fixed a memory leak in dvbsubenc.c: sub->num_rects was reduced without ↵Wim Vander Schelden2014-01-25
| | | | | | | | | | | | | | freeing the associated rects. Signed-off-by: Wim Vander Schelden <lists@fixnum.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/dvbsub: fix for Display Definition SegmentPierre Yves MORDRET2013-12-13
| | | | | | | | | | | | | | | | | | | | | | Given ETSI EN 300 743 V1.3.1 (2006-11), 7.2.1 Display definition segment display window parameters are given in this order XMin, XMax, YMin, YMax if display_window_flag is set, but here this is not the case. As a consequence the DVB subtitles are not displayed upon some videos. Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> Reviewed-by: Kieran Kunhya <kierank@obe.tv> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-11-07
|\| | | | | | | | | | | | | * qatar/master: Remove #undefs for formerly forbidden system functions Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove #undefs for formerly forbidden system functionsDiego Biurrun2013-11-07
| | | | | | | | | | The macros forbidding the system functions no longer exist, obviating the need for the #undefs.