summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* gxfenc: remove disabled half-implemented MJPEG tagDiego Biurrun2012-05-14
|
* rtmp: Implement check bandwidth notification.Samuel Pitoiset2012-05-10
| | | | | | According to the behaviour of librtmp, it is recommended to send this message to the server after receiving the 'onBWDone' callback in order to do bandwidth checking and improve compatibility with some servers.
* rtmp: Support 'rtmp_swfurl', an option which specifies the URL of the SWF ↵Samuel Pitoiset2012-05-10
| | | | player.
* rtmp: Support 'rtmp_flashver', an option which overrides the version of the ↵Samuel Pitoiset2012-05-10
| | | | Flash plugin.
* rtmp: Support 'rtmp_tcurl', an option which overrides the URL of the target ↵Samuel Pitoiset2012-05-10
| | | | | | stream. Signed-off-by: Martin Storsjö <martin@martin.st>
* sctp: be consistent with socket option levelSean McGovern2012-05-10
| | | | | | Replace SOL_SCTP by the more portable IPPROTO_SCTP. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mov: make one comment slightly more specificDiego Biurrun2012-05-09
|
* sctp: Initial tcp-alike sctp support with streamsLuca Barbato2012-05-08
| | | | | Signed-off-by: Jordi Ortiz <nenjordi@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* options_table: Add some missing #includes to fix "make checkheaders".Alex Converse2012-05-08
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rtsp: Add content-type message header parsingJordi Ortiz2012-05-08
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtmp: Support 'rtmp_live', an option which specifies if the media is a live ↵Samuel Pitoiset2012-05-08
| | | | | | stream. Signed-off-by: Martin Storsjö <martin@martin.st>
* dv: Split profile handling code into a separate file.Diego Biurrun2012-05-07
|
* flvenc: use AVFormatContext, not AVCodecContext for logging.Anton Khirnov2012-05-07
| | | | Encoder tag being used for muxer messages is confusing.
* mov: Remove write-only variable in mov_read_chan().Diego Biurrun2012-05-07
| | | | libavformat/mov.c:597:25: warning: variable ‘cflags’ set but not used
* lavf: add missing '*' in a doxy.Anton Khirnov2012-05-07
|
* build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.Diego Biurrun2012-05-07
|
* Mark a number of variables only used in av_dlog() calls as av_unused.Diego Biurrun2012-05-06
| | | | This fixes a number of unused-but-set gcc warnings.
* mpegmux: add stuffing to avoid incomplete PCM framesJanne Grunau2012-05-06
| | | | Fixes https://bugzilla.libav.org/show_bug.cgi?id=244
* rtsp: avoid const warnings from strtol() callMans Rullgard2012-05-06
| | | | | | | | | The strtol() interface makes it difficult to use with const-qualified pointers. With this change, although the const is still lost, the compiler does not warn about it. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtpdec_h264: Add missing newlines to av_log callsMartin Storsjö2012-05-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Free old extradata before clearing the pointerMartin Storsjö2012-05-05
| | | | | | | This avoids memory leaks if there actually was some extradata set before. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Reorder code blocksMartin Storsjö2012-05-05
| | | | | | This removes one level of indentation. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Make start_sequence a static const arrayMartin Storsjö2012-05-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Cleanup debug packet type countingMartin Storsjö2012-05-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Cosmetic cleanupMartin Storsjö2012-05-05
| | | | | | | Add/fix spacing, split long lines, align assignments where suitable. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Clean up commentsMartin Storsjö2012-05-05
| | | | | | | | | Split long comments, move long comments at the end of lines to separate lines above, fix vertical alignment, fix up comment style (unify trailing dots - comments had a mix of 2, 3 or 4 dots, where it would be just as good without them at all). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Convert commented out code into setting an unused variableMartin Storsjö2012-05-05
| | | | | | | It is worth keeping instead of removing, in case reading this bit becomes necessary at some later point. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Remove a useless ifdefMartin Storsjö2012-05-05
| | | | | | assert is a no-op if DEBUG isn't defined. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Remove outdated/useless/incorrect commentsMartin Storsjö2012-05-05
| | | | | | | RTCP is handled elsewhere, not in the depacketizer for an individual format. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Remove useless memory corruption checksMartin Storsjö2012-05-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Return proper error codesMartin Storsjö2012-05-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Check the available data length before readingMartin Storsjö2012-05-05
| | | | | | This makes sure the length is checked for STAP-A type packets. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Add input size checksIvan Kovtunov2012-05-05
| | | | | | This fixes crashes if given too short data packets. Signed-off-by: Martin Storsjö <martin@martin.st>
* ea: check chunk_size for validity.Ronald S. Bultje2012-05-04
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cosmetics: indentationJustin Ruggles2012-05-03
|
* avformat: only fill-in interpolated timestamps if duration is non-zeroJustin Ruggles2012-05-03
| | | | | This avoids returning duplicate timestamps for multiple packets when the demuxer does not provide all timestamps and packet duration is not known.
* avformat: remove a workaround for broken timestampsJustin Ruggles2012-05-03
| | | | | | | This modifies pts in situations other than what was intended, leading to invalid timestamps. Reverts commit 90bb394dccacd10607153833a0aeba0d970dc8db
* mpegts: Some additional HDMV types and reg descriptors for mpegtsJoakim Plate2012-05-03
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* mkv: mark corrupted packets and return themLuca Barbato2012-04-29
| | | | Do return error if memory allocation or I/O fails.
* mkv: forward EMBL block data errorLuca Barbato2012-04-29
| | | | Do not return 0 on error.
* segment: reorder seg_write_header allocationLuca Barbato2012-04-27
| | | | | As pointed by Paul B Mahol <onemda@gmail.com> the previous code could lead to null pointer dereference.
* avio: make avio_close(NULL) a no-opLuca Barbato2012-04-27
| | | | Its behaviour in line with ffurl_close(NULL).
* mov: Parse EC3SpecificBox (dec3 atom).Yusuke Nakamura2012-04-27
| | | | | | | | Skip to parse fields for additional independent substreams and its associated dependent substreams since libavcodec's E-AC-3 decoder does not support them yet. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mpegts: Make sure we don't return uninitialized packetsMartin Storsjö2012-04-27
| | | | | | | | | This fixes crashes, where the demuxer could return 0 even if the returned AVPacket isn't initialized at all. This could happen if running into EOF or running out of probesize with non-seekable sources. Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: support eac3 audioHendrik Leppkes2012-04-25
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avf: fix faulty check in has_durationLuca Barbato2012-04-25
| | | | An invalid duration is AV_NOPTS_VALUE not 0.
* isom: Support more DTS codec identifiers.Yusuke Nakamura2012-04-23
| | | | | | DTS LBR identifier ('dtse') is not included since libavcodec doesn't support it yet. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* matroska: Clear prev_pkt between seeks.Dale Curtis2012-04-23
| | | | | | | | | | | The new incremental parser doesn't always clear prev_pkt, however the packet queue is cleared when seeking. Which leads to a use-after-free. Verified using Valgrind. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* audemux: Add a sanity check for the number of channelsMichael Niedermayer2012-04-23
| | | | | | | Fixes a division by 0. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Martin Storsjö <martin@martin.st>
* matroska: Add incremental parsing of clusters.Dale Curtis2012-04-22
| | | | | | | | | | | | | | | | | | | | | | Reduces the amount of upfront data required for cluster parsing thus decreasing latency on seek and startup. The change in the seek-lavf_mkv FATE test is due to incremental parsing no longer reading as much data as the old parser and thus not having that additional data to generate index entries based on keyframes. Index entries are added correctly as the file is parsed. All FATE tests pass and Chrome has been using this patch for ~6 months without issue. Currently incremental parsing is not supported for files with SSA tracks since they require merging packets between clusters. In this case the code falls back to non-incremental parsing. Signed-off-by: Aaron Colwell <acolwell@chromium.org> Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>