summaryrefslogtreecommitdiff
path: root/libavformat/img2dec.c
Commit message (Collapse)AuthorAge
* lavf/img2dec: add option to disable pattern matchingMarton Balint2015-05-12
| | | | | | Signed-off-by: Marton Balint <cus@passwd.hu> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf/img2dec: Autodetect qdraw images.Carl Eugen Hoyos2015-05-07
|
* avformat/img2dec: do not rewind custom io buffersMichael Niedermayer2015-04-20
| | | | | | | Fixes double free with some applications Fixes vlc ticket14121 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* img2dec: Remove dead codeTimothy Gu2015-02-06
| | | | | | Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Reviewed-by: Carl Eugen Hoyos <cehoyos@ag.or.at> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat: fix mode of img2dec.c and utils.cMichael Niedermayer2015-02-03
| | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/img2dec: remove the non-negative number requirement for ↵Liviu Oniciuc2015-02-03
| | | | | | | | | start_number option industrial cameras usually mark the trigger frame as frame number 0 all frames saved before trigger frame receive a negative sequence number Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavformat/img2dec: fix warning when !HAVE_GLOBChristophe Gisquet2015-01-21
| | | | | | Variables are unused in this case. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Skip Exif data when auto-detecting jpeg images.Carl Eugen Hoyos2015-01-09
|
* avformat/img2dec: Use avio_closep() to avoid leaving stale pointers in memoryMichael Niedermayer2015-01-08
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/img2dec: check w/h in dpx_probeMichael Niedermayer2014-12-21
| | | | | | Fixes probetest failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'f1ed83e23add1c26c50b146727e4c2399dfc0b3a'Michael Niedermayer2014-10-25
|\ | | | | | | | | | | | | | | | | | | | | * commit 'f1ed83e23add1c26c50b146727e4c2399dfc0b3a': img2dec: check av_new_packet return value Conflicts: libavformat/img2dec.c See: 3f8148911c6e6e1f2a042bd4ca3ad8516a92130c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * img2dec: check av_new_packet return valueVittorio Giovara2014-10-24
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1087077
* | avformat/img2dec: Attempt to detect non-escaped glob patterns too ↵Alexander Strasser2014-10-05
| | | | | | | | | | | | | | | | | | | | (-pattern_type glob) Fixes ticket #3948 Based-on-patch-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Alexander Strasser <eclipse7@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: Support -loop with pipesMichael Niedermayer2014-10-05
| | | | | | | | | | | | Fixes Ticket3976 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "avformat/img2dec: reduce bmppipe probe score"Michael Niedermayer2014-10-03
| | | | | | | | | | | | | | | | This seems not needed anymore This reverts commit 321c3cd1a97b9307760c3ebb175296590c382eca. Found-by: carl
* | Autodetect jpg images.Carl Eugen Hoyos2014-09-26
| | | | | | | | | | | | Based on 2d3842f5 by Michael Niedermayer. Fixes ticket #2541.
* | avformat/img2dec: enable generic seeking for image pipesMichael Niedermayer2014-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: initialize pkt->pos for image pipesMichael Niedermayer2014-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: pass error code and signal EOFMichael Niedermayer2014-09-25
| | | | | | | | | | Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: fix error code at EOF for pipesMichael Niedermayer2014-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: Fail probing when no data is yet available and the ↵Michael Niedermayer2014-09-12
| | | | | | | | | | | | | | | | | | | | | | filename contains no number/glob patterns either. Fixes Ticket3901 the seek test error codes change due to a change in the failure path, this could be avoided by changing the respective error codes to EINVAL Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: reduce bmppipe probe scoreMichael Niedermayer2014-09-12
| | | | | | | | | | | | | | | | | | bmp pipe needs the bmp parser which is not bug free and should thus not be favored over the bmp image2 demuxer that also means this change could be reverted in case bmp pipe is improved so it handles all single bmp images correctly Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2: Make AVOptions available to img* demuxers defined in other filesMichael Niedermayer2014-09-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add missing initialization for AVProbeData.Reimar Döffinger2014-08-11
| | | | | | | | | | | | This has become necessary since the new mime field was added. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavf/img2dec: Initialize a stack variable.Carl Eugen Hoyos2014-08-10
| | | | | | | | | | Fixes a valgrind warning about using unitialised memory. Hopefully fixes crashes on several platforms reported through fate.
* | Autodetect jpeg-ls files.Carl Eugen Hoyos2014-08-08
| |
* | Autodetect webp files.Carl Eugen Hoyos2014-08-08
| |
* | replace calls to url_feof() with avio_feof()James Almer2014-08-08
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Autodetect big-endian tiff files.Carl Eugen Hoyos2014-07-22
| |
* | libavformat/img2dec.c: Add a long_name to the piped image demuxersAndreas Cadhalpun2014-07-22
| | | | | | | | | | | | This fixes segfaults in gst-libav1.0 compiled against FFmpeg 2.3. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: remove functions from image pipe which are unneeded for ↵Michael Niedermayer2014-07-04
| | | | | | | | | | | | image pipes Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: improve bmp probeMichael Niedermayer2014-07-04
| | | | | | | | | | | | fix probetest failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: increase probe buffer to 2kMichael Niedermayer2014-07-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: set AVProbeData size correctly on corner cases of tiny filesMichael Niedermayer2014-07-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: avoid seekback on probeingMichael Niedermayer2014-07-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: allocate and clear padding area for probe correctlyMichael Niedermayer2014-07-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Autodetect JPEG2000 imagess.Carl Eugen Hoyos2014-07-04
| | | | | | | | | | Autodetection of jp2 files does not work yet, the files are detected as mov.
* | avformat: Add image3 demuxers with format autodetectionCarl Eugen Hoyos2014-07-03
| | | | | | | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: fix typoMichael Niedermayer2014-04-14
| | | | | | | | | | Found-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: support nanosecond file timesMichael Niedermayer2014-04-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: zero probe bufferMichael Niedermayer2014-03-31
| | | | | | | | | | | | | | Fixes use of uninitialized memory Fixes valgrind failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: try to read PROBE_BUF_MIN instead of just enough for .pix ↵Michael Niedermayer2014-03-29
| | | | | | | | | | | | probing Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: Use avformat probing interface to identify format if it ↵Michael Niedermayer2014-03-28
| | | | | | | | | | | | | | | | | | | | has not been otherwise identified This is used only for distinguishing .pix formats for now. Which is the only case that has image2 demuxers currently Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: make image2dec capable to be used from seperate demuxersMichael Niedermayer2014-03-28
| | | | | | | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | img2dec: fix typo (double "with with")Kirill Gavrilov2013-08-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/img2dec: timestamps are 64bitMichael Niedermayer2013-06-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | img2dec: support seeking with ts_from_fileMichael Niedermayer2013-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | img2dec: dont set start_time/duration to invalid valuesMichael Niedermayer2013-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | img2dec: Add ts_from_file optionAndrey Utkin2013-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'e0f8be6413b6a8d334d6052e610af32935c310af'Michael Niedermayer2013-05-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e0f8be6413b6a8d334d6052e610af32935c310af': avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate Conflicts: libavformat/ac3dec.c libavformat/avformat.h libavformat/avs.c libavformat/m4vdec.c libavformat/mov.c libavformat/mp3dec.c libavformat/mpeg.c libavformat/mpegvideodec.c libavformat/psxstr.c libavformat/pva.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>