summaryrefslogtreecommitdiffstats
path: root/libavformat/asfdec_f.c
Commit message (Collapse)AuthorAgeFilesLines
* lavf: Constify the probe function argument.Carl Eugen Hoyos2019-03-211-1/+1
| | | | | Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
* avformat: fix id3 chaptersLukas Stabe2017-10-051-1/+3
| | | | | | | | | | | These changes store id3 chapter data in ID3v2ExtraMeta and introduce ff_id3v2_parse_chapters to parse them into the format context if needed. Encoders using ff_id3v2_read, which previously parsed chapters into the format context automatically, were adjusted to call ff_id3v2_parse_chapters. Signed-off-by: wm4 <nfxjfg@googlemail.com>
* avformat/asfdec: Fix DoS in asf_build_simple_index()Michael Niedermayer2017-09-071-0/+5
| | | | | | | | Fixes: Missing EOF check in loop No testcase Found-by: Xiaohei and Wangchu from Alibaba Security Team Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/asfdec: Fix DoS due to lack of eof check孙浩 and 张洪亮(望初)2017-08-271-2/+4
| | | | | | | Fixes: loop.asf Found-by: Xiaohei and Wangchu from Alibaba Security Team Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/asfdec_f: Remove CR/LF from avpriv_request_sample() call.Carl Eugen Hoyos2016-12-031-1/+1
|
* avformat/avlanguage: make av_convert_lang_to() internalJames Almer2016-07-191-1/+1
| | | | | | | The header was never installed and the function is only used in libavformat Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-101-36/+36
| | | | | | | | | | | | | | | | * commit '9200514ad8717c63f82101dc394f4378854325bf': lavf: replace AVStream.codec with AVStream.codecpar This has been a HUGE effort from: - Derek Buitenhuis <derek.buitenhuis@gmail.com> - Hendrik Leppkes <h.leppkes@gmail.com> - wm4 <nfxjfg@googlemail.com> - Clément Bœsch <clement@stupeflix.com> - James Almer <jamrial@gmail.com> - Michael Niedermayer <michael@niedermayer.cc> - Rostislav Pehlivanov <atomnuker@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fix some a/an typosLou Logan2016-03-281-1/+1
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* avformat: use AV_OPT_TYPE_BOOL in a bunch of placesClément Bœsch2015-12-041-2/+2
|
* asfdec: fix FATE seek testHendrik Leppkes2015-10-271-2/+4
|
* Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-271-6/+6
|
* Remove left-over FF_API_DESTRUCT_PACKET cruftHendrik Leppkes2015-09-051-5/+0
|
* Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba'Michael Niedermayer2015-07-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '059a934806d61f7af9ab3fd9f74994b838ea5eba': lavc: Consistently prefix input buffer defines Conflicts: doc/examples/decoding_encoding.c libavcodec/4xm.c libavcodec/aac_adtstoasc_bsf.c libavcodec/aacdec.c libavcodec/aacenc.c libavcodec/ac3dec.h libavcodec/asvenc.c libavcodec/avcodec.h libavcodec/avpacket.c libavcodec/dvdec.c libavcodec/ffv1enc.c libavcodec/g2meet.c libavcodec/gif.c libavcodec/h264.c libavcodec/h264_mp4toannexb_bsf.c libavcodec/huffyuvdec.c libavcodec/huffyuvenc.c libavcodec/jpeglsenc.c libavcodec/libxvid.c libavcodec/mdec.c libavcodec/motionpixels.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/noise_bsf.c libavcodec/nuv.c libavcodec/nvenc.c libavcodec/options.c libavcodec/parser.c libavcodec/pngenc.c libavcodec/proresenc_kostya.c libavcodec/qsvdec.c libavcodec/svq1enc.c libavcodec/tiffenc.c libavcodec/truemotion2.c libavcodec/utils.c libavcodec/utvideoenc.c libavcodec/vc1dec.c libavcodec/wmalosslessdec.c libavformat/adxdec.c libavformat/aiffdec.c libavformat/apc.c libavformat/apetag.c libavformat/avidec.c libavformat/bink.c libavformat/cafdec.c libavformat/flvdec.c libavformat/id3v2.c libavformat/isom.c libavformat/matroskadec.c libavformat/mov.c libavformat/mpc.c libavformat/mpc8.c libavformat/mpegts.c libavformat/mvi.c libavformat/mxfdec.c libavformat/mxg.c libavformat/nutdec.c libavformat/oggdec.c libavformat/oggparsecelt.c libavformat/oggparseflac.c libavformat/oggparseopus.c libavformat/oggparsespeex.c libavformat/omadec.c libavformat/rawdec.c libavformat/riffdec.c libavformat/rl2.c libavformat/rmdec.c libavformat/rtpdec_latm.c libavformat/rtpdec_mpeg4.c libavformat/rtpdec_qdm2.c libavformat/rtpdec_svq3.c libavformat/sierravmd.c libavformat/smacker.c libavformat/smush.c libavformat/spdifenc.c libavformat/takdec.c libavformat/tta.c libavformat/utils.c libavformat/vqf.c libavformat/westwood_vqa.c libavformat/xmv.c libavformat/xwma.c libavformat/yop.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/asfdec_f: Parse ECC byte according to specMichael Niedermayer2015-07-221-7/+21
| | | | | | | | | This should not change anything as the spec requires specific values for the fields, which where handled previously. Ask for samples when these values do not match Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/asfdec_f: Improve packet resync heuristicMichael Niedermayer2015-07-221-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/asfdec_f: Do not print errors if packets do not start with ECCMichael Niedermayer2015-07-221-35/+46
| | | | | | There is nothing wrong with such packets, the spec allows this Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/asfdec_f: Increase the amount of information provided in cases of ↵Michael Niedermayer2015-07-221-4/+4
| | | | | | errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'd80811c94e068085aab797f9ba35790529126f85'Michael Niedermayer2015-07-121-1/+1
| | | | | | | | | | | | | | | | | | | * commit 'd80811c94e068085aab797f9ba35790529126f85': riff: Use the correct logging context Conflicts: libavformat/asfdec_o.c libavformat/avidec.c libavformat/dxa.c libavformat/matroskadec.c libavformat/mov.c libavformat/riff.h libavformat/riffdec.c libavformat/wavdec.c libavformat/wtvdec.c libavformat/xwma.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/asfdec_f: Fix memleakMichael Niedermayer2015-07-021-0/+1
| | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/asfdec_f: Add ASFDataType, use named types for metadataJohn Adlum2015-07-021-6/+14
| | | | | | This is based on asfdec_o.c, but uses a proper type instead of defines Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/asfdec_f: Use dynamic allocation in asf_read_metadata() instead of ↵John Adlum2015-07-021-6/+11
| | | | | | a fixed size buffer Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/asfdec_f: factor error checking out of main header parsing loopJohn Adlum2015-07-021-7/+6
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/asfdec_f: Assert that packet positions match in asf_read_pts()John Adlum2015-07-011-0/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/asfdec_f: Correct skip to key codeJohn Adlum2015-07-011-1/+2
| | | | | | Fixes Ticket3978 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat: rename asfdec.c to asfdec_f.cMichael Niedermayer2015-06-301-0/+1659
leaving it as asfdec.c confuses git Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud