summaryrefslogtreecommitdiff
path: root/libavformat/img2dec.c
Commit message (Collapse)AuthorAge
* Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes2015-10-27
|\ | | | | | | | | | | | | * commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-26
| | | | | | | | | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
| * avformat: Don't anonymously typedef structsDiego Biurrun2015-02-14
| |
| * img2dec: correctly use the parsed value from -start_numberVittorio Giovara2015-01-14
| | | | | | | | | | | | | | Previously the image sequence was always starting from the minimum number rather than the requested one. CC: libav-stable@libav.org
* | all: add _DEFAULT_SOURCE locally wherever neededGanesh Ajjanagadde2015-10-04
| | | | | | | | | | | | | | | | | | Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE and _SVID_SOURCE. The solution from man feature_test_macros is to define both _DEFAULT_SOURCE and the old macros. This solution is on the lines of the one in commit af1818276ef271af98e2e2bbabb4dc875b4fa7d8. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | lavf/img2dec: Fix memory leakPrzemysław Sobala2015-09-29
| | | | | | | | | | | | Fixes #4886 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/img2dec: Improve jpeg auto-detection.Carl Eugen Hoyos2015-09-12
| | | | | | | | Fixes ticket #4841.
* | lavf/img2dec: Improve detection of valid Quickdraw images.Carl Eugen Hoyos2015-06-29
| | | | | | | | | | Detect Quickdraw images without application header with lower score.
* | lavf/img2dec: Autodetect dds frames.Carl Eugen Hoyos2015-06-29
| |
* | 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>