summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* pixfmt: support more yuva formatsLuca Barbato2012-10-30
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dv: fix indentationAnton Khirnov2012-10-29
|
* dv: use AVStream.index instead of abusing AVStream.idAnton Khirnov2012-10-29
|
* rtsp: Avoid a cast when calling strtolMartin Storsjö2012-10-29
| | | | | | | | | This gets rid of this warning: libavformat/rtsp.c: In function ‘rtsp_parse_transport’: libavformat/rtsp.c:794: warning: cast discards qualifiers from pointer target type Signed-off-by: Martin Storsjö <martin@martin.st>
* nut: support textual dataLuca Barbato2012-10-29
| | | | Plain text (utf8 encoded) data can be muxed and demuxed in nut.
* nutenc: verbosely report unsupported negative ptsLuca Barbato2012-10-29
| | | | Additionally use the correct error number.
* rtpdec: Cosmetic cleanupMartin Storsjö2012-10-28
| | | | | | | | | | Mainly clean up the RTP statistics code, plus a few other obviously misindentend lines. Remove some useless comments, de-doxygenize some comments, add spacing around operators and fix a typo. Signed-off-by: Martin Storsjö <martin@martin.st>
* yuv4mpeg: reject unsupported codecsLuca Barbato2012-10-28
| | | | | The muxer already rejects unsupported pixel formats, reject also unsupported codecs to prevent dangerous misuses.
* nutenc: K&R formatting cosmeticsLuca Barbato2012-10-28
|
* assdec: fix qsort() callback signatureMans Rullgard2012-10-27
| | | | | | | This changes the event_cmp() function to the correct signature, avoiding an ugly cast. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: fix pointer type mismatches in avio_enum_protocols()Mans Rullgard2012-10-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* udp: use socklen_t where appropriateMans Rullgard2012-10-27
| | | | | | | getsockname() takes a pointer to socklen_t which is not necessarily int. Signed-off-by: Mans Rullgard <mans@mansr.com>
* network: use HAVE_THREADS instead of local hackMans Rullgard2012-10-27
| | | | | | | | | HAVE_THREADS is set in config.h if pthreads or w32threads is available, which presumably the proper condition here. Also fixes undefined behaviour in preprocessor directives. Signed-off-by: Mans Rullgard <mans@mansr.com>
* pcm: change references to raw to pcmLuca Barbato2012-10-25
|
* pcmdec: change default of channels parameter to 1Janne Grunau2012-10-25
| | | | | This was previously implicitly done in ff_raw_read_header(). Fixes fate tests with pcm input.
* rawdec: remove ff_raw_read_headerLuca Barbato2012-10-25
| | | | It is not used anymore and is a kludge.
* pcmdec: remove dependency from rawdecLuca Barbato2012-10-25
| | | | The code shared is not actually shared with anything else.
* g722: refactor out of rawdec.cLuca Barbato2012-10-25
|
* rawvideo: use a specific read_headerLuca Barbato2012-10-25
| | | | ff_raw_read_header is used only for this demuxer for video.
* avutil: Make LZO decoder code configure-time selectableDiego Biurrun2012-10-25
|
* smoothstreamingenc: Don't assume streams start from timestamp 0Martin Storsjö2012-10-24
| | | | | | Also use dts instead of pts for deciding where to split fragments. Signed-off-by: Martin Storsjö <martin@martin.st>
* asfdec: cosmetics, reformat ff_asf_parse_packet()Anton Khirnov2012-10-24
|
* rtmppkt: Avoid unescaped backslash in Doxygen commentDiego Biurrun2012-10-23
|
* build: Plan 9 supportMans Rullgard2012-10-23
| | | | | | | | | | | | | This adds support for building on Plan 9 x86-32. The compat/plan9 directory contains these items: - replacements for the 'head' and 'printf' shell commands - wrapper for main() to disable FPU exceptions Larger required changes to the system are described in the documentation. Signed-off-by: Mans Rullgard <mans@mansr.com>
* network: use getservbyport() only if availableMans Rullgard2012-10-23
| | | | | | | The absence of this function will only give a less informative string back from our fallback implementation of getnameinfo(). Signed-off-by: Mans Rullgard <mans@mansr.com>
* network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLENMans Rullgard2012-10-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Improve wording and spelling of av_log_missing_feature messages.Diego Biurrun2012-10-23
|
* riff: remove a write-only variableAnton Khirnov2012-10-22
|
* rtpdec: Don't pass a non-AVClass pointer as log contextMartin Storsjö2012-10-22
| | | | | | The log context is assumed to start with an AVClass pointer. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Update a comment to the current filename schemeMartin Storsjö2012-10-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Make sure the ret variable is initialized in ff_rtsp_fetch_packetMartin Storsjö2012-10-20
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Allow setting the reordering buffer size via an AVOptionMartin Storsjö2012-10-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Vertically align a constant definitionMartin Storsjö2012-10-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: Update the check for distinguishing between RTP and RTCPMartin Storsjö2012-10-18
| | | | | | | Also add enums for more RTCP packet types, according to the IANA list of registered types. Signed-off-by: Martin Storsjö <martin@martin.st>
* riff: Move functions around to be covered by appropriate #ifdefsDiego Biurrun2012-10-18
| | | | This fixes compilation with --disable-muxers.
* avformat: Fix references to the removed function av_write_header in commentsMartin Storsjö2012-10-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* gxf: Add a local copy of the relevant parts of the frame rate tableMartin Storsjö2012-10-18
| | | | | | | | | | | | | This avoids having to share this table across the library boundaries. This shared table used to be problematic, if always declaring all exported data symbols with the dllimport attribute (even while building that same library), since it needs to be a link-time constant when it is used in AVCodec declarations (in mpeg12enc.c). Signed-off-by: Martin Storsjö <martin@martin.st>
* aviobuf: Remove a senseless ifdef in avio_seekMartin Storsjö2012-10-18
| | | | | | | | | This seemed to assume that one never used writing avio unless muxers or networking was enabled. This ifdef is a remnant since 8fa641f8. Signed-off-by: Martin Storsjö <martin@martin.st>
* wavdec: check size before reading the data, not after.Anton Khirnov2012-10-16
|
* wav: do not fail on empty INFO tagsAnton Khirnov2012-10-16
| | | | | | Fixes Bug 379 CC: libav-stable@libav.org
* lavf: split wav muxer and demuxer into separate files.Anton Khirnov2012-10-16
|
* wav muxer: write metadataVictor Vasiliev2012-10-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* riff: do not write empty INFO tagsVictor Vasiliev2012-10-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: move RIFF INFO tag writing from avienc to riffVictor Vasiliev2012-10-16
| | | | | | It will be useful in the wav muxer. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* network: #include stdint.h in network.hMans Rullgard2012-10-16
| | | | | | | This header uses various types provided by stdint.h without explicitly including it. Signed-off-by: Mans Rullgard <mans@mansr.com>
* nut: export codec_tag provided by rawvideoLuca Barbato2012-10-16
| | | | | | Raw audio does not provide valid audio tags while rawvideo does. The fate refs have to be updated because it undoes the previous tag change.
* avserver: move avserver-specific code from ffmdec.c to avserver.cMans Rullgard2012-10-16
| | | | | | | | This way avserver only depends on the data structures of the ffm demuxer, which it already does, and not also on private functions being exported by the library. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rmdec: Move SIPR code shared with Matroska demuxer to a separate fileDiego Biurrun2012-10-15
|
* nut: support pcm codecs not mapped in aviLuca Barbato2012-10-13
| | | | The native tags will be used when available.
* nut: prioritize native tagsLuca Barbato2012-10-13
| | | | | Use native tags instead of avi ones, simplifies a lot raw video codecs handling.