summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* 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.
* rtpdec_xiph: fix function return typeMans Rullgard2012-10-12
| | | | | | | parse_packed_headers() returns either zero or a negative error code so its return type must be signed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* smjpeg: fix type of 'ret' variable in smjpeg_read_packet()Mans Rullgard2012-10-12
| | | | | | | The 'ret' variable is used for negative error codes so it should be a signed type. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use proper return values in case of missing featuresDiego Biurrun2012-10-12
|
* avutil: Duplicate ff_log2_tab instead of sharing it across libsDiego Biurrun2012-10-12
| | | | | The table is so small that the space gain is not worth the performance overhead of cross-library access.
* rtspdec: Set the default port for listen mode, if none is specifiedMartin Storsjö2012-10-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Fix an out of array writeMichael Niedermayer2012-10-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtspdec: Fix use of uninitialized byteMichael Niedermayer2012-10-12
| | | | | | ffurl_read_complete can return 0 as well as negative error codes. Signed-off-by: Martin Storsjö <martin@martin.st>
* md5: Allocate a normal private context for the opaque md5 context pointerMartin Storsjö2012-10-11
| | | | | | | | This avoids having to overestimate the md5 context size, which isn't known beforehand, allowing us to use the new allocate functions instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* Use the new aes/md5/sha/tree allocation functionsMartin Storsjö2012-10-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mxfdec: return error if no segments are available in ↵Janne Grunau2012-10-10
| | | | | | mxf_get_sorted_table_segments Fixes CID732275.
* segment: support applehttp style listLuca Barbato2012-10-10
|
* avio: introduce avio_closepLuca Barbato2012-10-10
|
* mpegtsenc: set muxing type notification to verboseLuca Barbato2012-10-10
|
* rtspdec: use av_strlcpy for writing into fixed size bufferJanne Grunau2012-10-09
| | | | Fixes CID231347.
* http: use av_strlcpy instead of strcpy() without size checksJanne Grunau2012-10-09
| | | | Fixes CID700730.
* matroskaenc: check cue point validity before reallocationJanne Grunau2012-10-09
| | | | | Prevents memory leak and possible access to freed memory. Fixes CID605744.
* swfenc: error out for more than 1 audio or video streamJanne Grunau2012-10-09
| | | | Prevents CID602000.
* rtpdec_mpeg4: au_headers is a single array, simple av_free is enoughJanne Grunau2012-10-09
| | | | Fixes CID700204.
* fate: Add tests of the ff_make_absolute_url functionMartin Storsjö2012-10-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* url: Handle relative urls starting with two slashesDuncan Salerno2012-10-09
| | | | | | This is defined by RFC 3986 section 5.4.1 to be handled this way. Signed-off-by: Martin Storsjö <martin@martin.st>
* url: Handle relative urls being just a new query stringDuncan Salerno2012-10-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* url: Don't treat slashes in query parameters as directory separatorsDuncan Salerno2012-10-09
| | | | | | | Strip off query parameters from the original url before applying the new relative path. Signed-off-by: Martin Storsjö <martin@martin.st>
* Restructure av_log_missing_feature messageDiego Biurrun2012-10-09
| | | | | | | | Some invocations include a verb in the log message, others do not. Yet av_log_missing_feature expects callers to provide a verb. Change the function to include a verb instead and update the callers accordingly. The result is a more natural function API and correct English in the function invocations.
* rtp: Support packetization/depacketization of opusMartin Storsjö2012-10-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* file: Set the return value type for lseek to int64_t.Yusuke Nakamura2012-10-09
| | | | | | This fixes a regression in 4ed5ac5. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc_vp8: Update the packetizer to the latest spec versionMartin Storsjö2012-10-08
| | | | | | Tested to work with the gstreamer depacketizer. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_vp8: Make the depacketizer implement the latest spec draftMartin Storsjö2012-10-08
| | | | | | | | | | | Not all details are implemented, but it's enough for proper playback as long as there is no packet loss. Tested to work with the packetizer in gstreamer (which although uses a different codec name, to clarify that it is still a spec draft). Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: drop global headers settingLuca Barbato2012-10-08
| | | | | | | | avconv provides an option to set it externally and there isn't a way for the outer demuxer to report the inner demuxer flag. Solves a bad interaction between mpegts and x264, but requires additional setting for the user.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* gxf: Include the right header for the avpriv_frame_rate_tab declarationMartin Storsjö2012-10-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>