summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* Merge commit '6516632967da5e6bd7d6136e8678f826669ed26e'Michael Niedermayer2013-07-07
|\ | | | | | | | | | | | | | | | | | | | | | | * commit '6516632967da5e6bd7d6136e8678f826669ed26e': tests: Only run noproxy test if networking is enabled fifo: K&R formatting cosmetics Conflicts: libavformat/Makefile libavutil/fifo.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tests: Only run noproxy test if networking is enabledDiego Biurrun2013-07-06
| |
* | avformat/mov: Fix duration of fragmented movMichael Niedermayer2013-07-07
| | | | | | | | | | | | Fixes Ticket2757 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | oggparseskeleton: avoid header parsing failureMichael Niedermayer2013-07-06
| | | | | | | | | | | | Based on description by James Almer and the xiph wiki Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | nutdec: use ff_find_last_ts()Michael Niedermayer2013-07-06
| | | | | | | | | | | | Fixes finding the duration for nut files that are truncated Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/utils: factor ff_find_last_ts() out of ff_gen_search()Michael Niedermayer2013-07-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | replace some deprecated definesPaul B Mahol2013-07-06
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | oggparseskeleton: Replace avpriv_report_missing_feature() with a normal ↵James Almer2013-07-06
| | | | | | | | | | | | | | | | av_log() call since there should not be more than one fisbone for a given stream. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | oggparseskeleton: Fix fisbone header parsingJames Almer2013-07-06
| | | | | | | | | | | | | | | | | | start_granule should be applied to the stream referenced in the fisbone packet, not to the Skeleton stream. This was broken in d1f05dd18375f2f8e68372edee11436927e43ba8 and produced bogus warnings about multiple fisbone in the same stream on files with more than one stream. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mp3dec: Add usetoc option to allow dlsabling the use of the xing TOCMichael Niedermayer2013-07-06
| | | | | | | | | | | | | | The toc is inexact and not using it can thus make sense. Using it is faster though, thus the opposite can similarly makes sense Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tcp: Use a default timeout of 5 sec for opening a connection but not for ↵Michael Niedermayer2013-07-06
| | | | | | | | | | | | | | | | | | receiving packets This should be closer to how tcp behaved longer ago and should fix the issue with idle connections timing out. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ff_network_wait_fd_timeout: do not break with timeout < 0Michael Niedermayer2013-07-06
| | | | | | | | | | | | Most code treats timeout < 0 like 0 already Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tcp: Fix the default timeoutMichael Niedermayer2013-07-06
| | | | | | | | | | | | Fixes Ticket2694 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/avidec: Fix incorrect detection of badly interleaved aviNigel Touati-Evans2013-07-05
| | | | | | | | | | | | | | The method guess_ni_flag needs to divide timestamps in the index by sample_size if it is set in order to compare different streams correctly. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegts: only reopen pmt_cb filter if its different from the previous.Michael Niedermayer2013-07-05
| | | | | | | | | | | | Fixes Ticket2632 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf: fix documentation for avoid_negative_tsStefano Sabatini2013-07-05
| | | | | | | | Prefer "non-negative" over "positive", the former is more accurate.
* | avformat/movenc: allow negative TS for the ipod muxerMichael Niedermayer2013-07-04
| | | | | | | | | | | | Fixes Ticket2708 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/movenc: check ff_mov_init_hinting() returnMatthieu Bouron2013-07-04
| | | | | | | | | | | | Fixes a crash when the codec stream is not supported by the rtp muxer. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegts: use ffio_ensure_seekback()Michael Niedermayer2013-07-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/aviobuf: Add ffio_ensure_seekback()Michael Niedermayer2013-07-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: Append data in fill_buffer() when possibleMichael Niedermayer2013-07-04
| | | | | | | | | | | | | | | | | | Data is appended in fill_buffer() when there is sufficient space left and the data pointer only reset when needed. Previously the data pointer was more often reset, loosing more seekback space than otherwise needed. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/http: support relative url redirectionZhang Rui2013-07-04
| | | | | | | | | | | | see also http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-17#section-9.5 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/h261dec: use init_get_bits8()Michael Niedermayer2013-07-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | riff: remove invalid fourcc 'exr 'Paul B Mahol2013-07-04
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavf/movenc: fix writing of some iTunes metadata tagMatthieu Bouron2013-07-03
| | | | | | | | | | | | | | Fix metadata display under iTunes for files using pgap, hdvd, stick, tvsn and tves tags. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/matroskaenc: Allow VP9 and Opus in webmTudor Suciu2013-07-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf: add support for libgmewm42013-07-02
| | | | | | | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat_find_stream_info: move ret init down from flush codecs.Michael Niedermayer2013-07-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat_find_stream_info: Do not consider no streams an error in flush codecsMichael Niedermayer2013-07-02
| | | | | | | | | | | | | | This should have no functional effect, but allows a cleaner diff when moving it down Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat_find_stream_info: try to preserve the error codeMichael Niedermayer2013-07-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | av_find_stream_info: initialize retMichael Niedermayer2013-07-02
| | | | | | | | | | | | This should fix hypothetical corner cases where it might have never been initialized before use Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: Print "Consider increasing the value for analzeduration and ↵Carl Eugen Hoyos2013-07-02
| | | | | | | | | | | | | | | | | | | | | | probesize" even more often The sample from ticket #2691 currently does not trigger "Consider increasing the value for analzeduration and probesize" because the audio streams are only added after calling estimate_timings(). Attached patch moves the message below this function call. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-07-02
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: oggdec: do not fall back on binary search in the generic code. Conflicts: libavformat/oggdec.c tests/ref/seek/lavf-ogg Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * oggdec: do not fall back on binary search in the generic code.Anton Khirnov2013-07-02
| | | | | | | | | | Binary search is already attempted in the format-specific seek function, so the fallback is only reached if binary search failed already.
* | lavf/http: add support for reading streamcast metadatawm42013-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow applications to request reading streamcast metadata. This uses AVOptions as API, and requires the application to explicitly request and read metadata. Metadata can be updated mid-stream; if an application is interested in that, it has to poll for the data by reading the "icy_metadata_packet" option in regular intervals. There doesn't seem to be a nice way to transfer the metadata in a nicer way. Converting the metadata to ID3v2 tags might be a nice idea, but the libavformat mp3 demuxer doesn't seem to read these tags mid-stream, and even then we couldn't guarantee that tags are not inserted in the middle of mp3 packet data. This commit provides the minimum to enable applications to retrieve this information at all. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | rmdec: Pass AVIOContext to rm_read_metadata()Michael Niedermayer2013-07-02
| | | | | | | | | | | | | | Fix null pointer dereference Fixes Ticket2588 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | westwood_vqa: check return value of av_malloc()Paul B Mahol2013-07-01
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | idcin: check return value of av_malloc()Paul B Mahol2013-07-01
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | bfi: check return value of av_malloc()Paul B Mahol2013-07-01
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2013-06-30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cehoyos/master: Support compilation on aix with gcc. Rename "AVClass class" as "AVClass component_class". Rename constant FRAMESIZE in ra144 codec as FRAME_SIZE. Rename thread_init() in libavcodec and libavfilter as library_thread_init(). Rename constant HZ in af_biquads.c as HERTZ. Drop local lable from ppc asm timer. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Rename "AVClass class" as "AVClass component_class".Carl Eugen Hoyos2013-06-30
| | | | | | | | | | | | The aix header math.h defines "extern int class()" for C.
* | | lavf/movenc: use ffio_fill()Matthieu Bouron2013-06-30
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegts: use seek_back() for all seek backsMichael Niedermayer2013-06-30
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegts: factor seek_back() outMichael Niedermayer2013-06-30
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegts_read_header: goto fail instead of return directlyMichael Niedermayer2013-06-30
|/ / | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Added codec ID to playback DNxHDReuben Martin2013-06-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: make av_register_*put_format() thread safeMichael Niedermayer2013-06-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cosmetics: Fix "dont" "wont" "doesnt" typosTimothy Gu2013-06-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | udp: Fix receiving large udp packetsMichael Niedermayer2013-06-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Set block_align when reading QDM2 in mov.Carl Eugen Hoyos2013-06-28
| | | | | | | | Fixes ticket #2718.