aboutsummaryrefslogtreecommitdiff
path: root/libavformat
AgeCommit message (Collapse)Author
2013-10-21lavf/tee: fix leak of select option.Nicolas George
2013-10-21lavf/tee: fix leak of strdup/strtoked buffer.Nicolas George
Fix CID 1108606.
2013-10-21avformat/mxfdec; parse random index pack to get last partition offset and ↵Paul B Mahol
use it when footer partition offset is missing Footer partition may not be present and even if present footer partition offset may not be set in any partition except last one. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-10-20avformat/vobsub: fix invalid sub queue access while seeking.Clément Bœsch
If there is only 1 stream and seek isn't called with a specific stream index, we pick the first (and only) one. Regression since dbfe6110. Fixes CID1108591.
2013-10-20avformat/utils: Check av_packet_new_side_data() return before using itMichael Niedermayer
Fixes null pointer dereference Fixes CID1108592 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-20avformat/oggparsespeex: Check for extradata allocation failureMichael Niedermayer
Fixes CID1108574 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-20avformat/oggparseflac: check ff_alloc_extradata() return codeMichael Niedermayer
Fixes CID1108573 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-20avformat/oggparsecelt/celt_header: fix memleakMichael Niedermayer
Fixes: CID1108605 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-20avformat/network: check for fcntl() failure in ff_socket()Michael Niedermayer
Fixes: CID1087075 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-20avformat/au: add assert to help source code analyzersMichael Niedermayer
See: CID1108585 and CID1108603 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-19avformat/oggdec: favor av_freep() over av_free()Michael Niedermayer
Found-by: Reimar Döffinger Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-19Do not leave positive values undefined when negative are defined as errorMichael Niedermayer
Define positive return values as non errors and leave further meaning undefined This allows future extensions to use these values Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-19avformat/wtvdec: drop SHIFT_SECTOR_BITS() macroMichael Niedermayer
it just wraps around a bitwise shift, and makes the code harder to read Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-19Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: wtv: Seek by sector properly Conflicts: libavformat/wtvdec.c See: a0d13d84a928110b0e99ea16d17fd758fcbde35f Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-19avformat/wtv: rename to wtv_commonMichael Niedermayer
This helps git matchup files on merges correctly Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-18Fix decoding of G.726 in AIFF.Carl Eugen Hoyos
Fixes ticket #1973.
2013-10-18lavf/riff: Fix a comment.Carl Eugen Hoyos
FourCC aivx refers to (Sony) XAVC, not (Panasonic) AVC-Intra. Spotted by Kieran Kunhya and Vincent Olivier.
2013-10-18avformat: Use G726LE decoder for Sun AU filesCarl Eugen Hoyos
fixes ticket #1955 as suggested by Roman. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-18Support 4k AVC-Intra in mov.Carl Eugen Hoyos
2013-10-18wtv: Seek by sector properlyLuca Barbato
Use an helper function to seek by sector to avoid possible mistakes due shifting by WTV_SECTOR_BITS a 32bit integer. Contrary to common intuition, a 32 bit integer left shifted by a 64 bit integer does not promote the 32 bit integer to 64 bit before shifting.
2013-10-18avformat/flvdec: use avpriv_request_sample()Paul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-10-17Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer
* cehoyos/master: Add some necessary casts in the wtv demuxer. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-17avformat/hevcdec: add more irap cases to hevc_probe()Dirk Farin
This fixes fate-hevc-conformance-RAP_A_docomo_4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-17avformat/hevcdec: cosmetics, whitespacesDirk Farin
This reduces the difference to the latest hevc demuxer Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-17Add some necessary casts in the wtv demuxer.Carl Eugen Hoyos
This reverts e8023dba, fixes ticket #3049.
2013-10-16Support HEVC in transport streams.Carl Eugen Hoyos
2013-10-16avformat/mov: fix "correctly" typoMichael Niedermayer
Found-by: Timothy Gu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-16lavf/matroskadec: Support HEVC demuxing.Yusuke Nakamura
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-16lavf/mov: Support HEVC demuxing.Yusuke Nakamura
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-15hevc: add ts demux supportMickaël Raulet
cherry picked from commit 925ee44364a7bce58e2ac5bac91077ce0a75d883 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-15avformat: rename a few more h.265 to HEVCMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-15lavf/segment: simplify logic and fix !=0 check on segment_end return valueStefano Sabatini
A successfull return value can be > 0.
2013-10-15lavf/segment: log segments as they end to AV_LOG_VERBOSEBilly Shambrook
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2013-10-15lavf/segment: simplify segment_count updateStefano Sabatini
Now segment_count mark the segment_count of the current segment.
2013-10-15Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: http: Check the auth string contents and not only the pointer Conflicts: libavformat/http.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14matroskadec: Demux support for SeekPreRoll and CodecDelayVignesh Venkatasubramanian
Adds support for demuxing SeekPreRoll and CodecDelay container elements. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14http: Check the auth string contents and not only the pointerMichael Niedermayer
This makes sure we don't send the Except: 100-continue header if no authentication credentials have been provided. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-10-14avformat/rpl: use avpriv_report_missing_feature/avpriv_request_samplePaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-10-14Support H.264 fourcc UMSV.Carl Eugen Hoyos
Fixes ticket #3046.
2013-10-14Merge commit '84a125c4c28f3e3e215d2e6c32f7f0ec43bbc04c'Michael Niedermayer
* commit '84a125c4c28f3e3e215d2e6c32f7f0ec43bbc04c': rtmp: Allocate the prev_pkt arrays dynamically Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14rtmp: Allocate the prev_pkt arrays dynamicallyMartin Storsjö
Normally, all channel ids are between 0 and 10, while they in uncommon cases can have values up to 64k. This avoids allocating two arrays for up to 64k entries (at a total of over 6 MB in size) each when most of them aren't used at all. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-10-14movenc: use ff_alloc_extradata()James Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14oggparsecelt: use ff_alloc_extradata()James Almer
Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14oggparseopus: use ff_alloc_extradata()James Almer
Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14avformat/http: check the auth string contents not the pointer which cannot ↵Michael Niedermayer
be NULL It appears this bug originates from a "work in progress" patch from ffmpeg-devel that was heavily redesigned by and integrated in libav And that patch even had a reply and review on the mailing list pointing out that it had a bug. This fixes a deadlock with ffserver See: [FFmpeg-devel] [PATCH] Fix HTTP authentication problem for POST actions. [FFmpeg-devel] [PATCH 1/3] Introduce auth_phase flag, which will be true if authorization needs to be sent, but the type of authorization is not known yet Partial fix #3036 [FFmpeg-devel] [PATCH 2/3] Only add Transfer-Encoding header when not in authorization phase, because server will wait (indefinitely) for data when receiving this header Partial fix #3036 [FFmpeg-devel] [PATCH 3/3] Only allow posting data and/or forcing a 200 code, enabling posting isml chunks, -after- we did a possible first request to get a 403 from the server telling us which type of authentication to apply Final part fix #3036 See: 71549a857b13edf4c4f95037de6ed5bb4c4bd4af Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14Merge commit '71549a857b13edf4c4f95037de6ed5bb4c4bd4af'Michael Niedermayer
* commit '71549a857b13edf4c4f95037de6ed5bb4c4bd4af': http: Support auth method detection for POST Conflicts: libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14Merge commit 'eb8b05a3824a9fa85e20d603595ac8a3b83505d4'Michael Niedermayer
* commit 'eb8b05a3824a9fa85e20d603595ac8a3b83505d4': http: Add an option for forcing basic authentication Conflicts: libavformat/http.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-13avformat/westwood_vqa: s/unsigned char/uint8_t & s/unsigned int/uint32_tPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-10-13avformat: use ff_alloc_extradata()Paul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-10-13avformat: add ff_alloc_extradata() helperPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>