summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avpacket: Check for and return errors in ff_interleave_add_packet()Nidhi Makhijani2014-07-17
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mov: Clarify tkhd flag settingsLuca Barbato2014-07-11
|
* mov: Do not group tracks if more than one is enabled per typeLuca Barbato2014-07-11
| | | | The specification requires at most 1 track enabled per alternate group.
* cdg: Forward error from avio_size() in read_header() functionNidhi Makhijani2014-07-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegts: pass MpegTSContext ptr explicitlyAlexander V. Lukyanov2014-07-10
| | | | | | | | | | | | | | AVFormatContext->priv_data is not always a MpegTSContext, it can be RTSPState when decoding a RTP stream. So it is necessary to pass MpegTSContext pointer explicitly. Within libav, the write_section_data function doesn't actually use the MpegTSContext at all, so this doesn't change anything at the moment (no memory was corrupted before), but it reduces the risk of anybody trying to touch the MpegTSContext via AVFormatContext->priv_data in the future. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: pass an AVFormatContext to ff_parse_fmtp()Anton Khirnov2014-07-09
| | | | Use it for logging, instead of NULL or the stream codec context.
* yuv4mpegenc: do not access AVCodecContext.coded_frameAnton Khirnov2014-07-09
| | | | | | | | Its contents are meaningful only if the stream codec context is the one actually used for encoding, which is often not the case (and is discouraged). Use AVCodecContext.field_order instead.
* nsvdec: remove commented out cruftAnton Khirnov2014-07-09
|
* mov: free the dv demux context with avformat_free_context()Anton Khirnov2014-07-09
|
* mtv: do not set sample_rate for videoAnton Khirnov2014-07-09
|
* oggparsecelt: do not set AVCodecContext.frame_sizeAnton Khirnov2014-07-09
| | | | It is supposed to be set by decoders only.
* adxdec: get rid of an avpriv functionAnton Khirnov2014-07-09
| | | | | The only thing the demuxer needs is the sample rate to set the timebase, which can be simply read with AV_RB32.
* lavc: export DV profile API used by muxer/demuxer as publicAnton Khirnov2014-07-09
|
* avformat: update muxing doxyAnton Khirnov2014-07-09
| | | | The callers should now set the stream timebase, not the codec one.
* cdg: set the keyframe flag on the first packetAnton Khirnov2014-07-09
| | | | Bug-Id: 55
* mov: Remove a variable that is set but never usedMartin Storsjö2014-07-08
| | | | | | This silences a warning with gcc. Signed-off-by: Martin Storsjö <martin@martin.st>
* nut: Use nut->version in the version range checkLuca Barbato2014-07-08
| | | | | It was wrongly left unchanged when the version field had been introduced. (c94e2e85cb6af8a570d8542a830556243bd32873)
* avformat_new_stream: make the AVCodec parameter constRoman Savchenko2014-07-08
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* smoothstreamingenc: Fix a memory leak on errorsMichael Niedermayer2014-07-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1test: Check malloc callNidhi Makhijani2014-07-06
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1test: Return proper error codesNidhi Makhijani2014-07-06
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* librtmp: Don't free the temp url at the end of rtmp_openMartin Storsjö2014-07-06
| | | | | | | | librtmp can keep pointers to this string internally, and may use them at shutdown as well. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* id3v2enc: use a case-insensitive comparison for APIC picture typeAnton Khirnov2014-07-03
|
* daud: split muxer and demuxerNidhi Makhijani2014-07-03
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavf: document av_dump_format()Vittorio Giovara2014-07-02
|
* matroskadec: Fix a double negation typoMichael Niedermayer2014-07-02
| | | | | | | | | This typo has existed since this code was added in c16582579. Newer versions of clang pointed out that this comparison always was true (since the result of the negation is either 0 or 1, while AVDISCARD_ALL has the value 48). Signed-off-by: Martin Storsjö <martin@martin.st>
* matroska: Factor out mkv_write_stereo_modeLuca Barbato2014-07-01
|
* matroska: Factor out write_track from mkv_write_tracksLuca Barbato2014-07-01
|
* matroska: K&R formatting cosmeticsLuca Barbato2014-07-01
|
* mov: Support default-base-is-moof.Yusuke Nakamura2014-07-01
| | | | | | | | | default-base-is-moof shall be set to track fragments compatible with DASH Media Segments. So, this is a fundamental support for ISOBMFF ver. DASH. This is meaningful only when base-data-offset-present is absent and two or more track fragments are present in a movie fragment. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc_jpeg: check for color_range tooVittorio Giovara2014-06-28
|
* dump_stream: print the timebase as is, do not reduce itAnton Khirnov2014-06-26
| | | | | | It makes more sense to print the timebase exactly as it is set. Also, this avoids a divide by zero when av_dump_format() is called on a format context before writing the header.
* Check mp3 header before calling avpriv_mpegaudio_decode_header().Justin Ruggles2014-06-22
| | | | | | | | As indicated in the function documentation, the header MUST be checked prior to calling it because no consistency check is done there. CC:libav-stable@libav.org
* Replace av_malloc() and memset(0) by av_mallocz()Diego Biurrun2014-06-22
|
* build: Add missing object files for webm muxerDiego Biurrun2014-06-22
|
* build: Add missing object files for Matroska demuxerDiego Biurrun2014-06-22
|
* build: Add missing replaygain object file for CAF demuxerDiego Biurrun2014-06-22
|
* rtsp: Support misordered fmtp rtpmapJoshua Kordani2014-06-18
| | | | Issue present in Avigilon IP cameras.
* rtsp: Factor out fmtp parsingLuca Barbato2014-06-18
|
* lavf: switch to AVStream.time_base as the hint for the muxer timebaseAnton Khirnov2014-06-18
| | | | | | | | | | | | Previously, AVStream.codec.time_base was used for that purpose, which was quite confusing for the callers. This change also opens the path for removing AVStream.codec. The change in the lavf-mkv test is due to the native timebase (1/1000) being used instead of the default one (1/90000), so the packets are now sent to the crc muxer in the same order in which they are demuxed (previously some of them got reordered because of inexact timestamp conversion).
* riffenc: take an AVStream instead of an AVCodecContextAnton Khirnov2014-06-18
| | | | | | It will be useful in the following commits. Also, rename the AVCodecContext pointer name from 'stream' to 'codec'.
* lavf: add the notimestamps flag to the muxers missing itAnton Khirnov2014-06-18
|
* rtpenc: base max_frames_per_packet on avg_frame_rate, not codec timebaseAnton Khirnov2014-06-18
| | | | | Fall back to 1 (which is what is used for most cases anyway) when the framerate is not set.
* Remove avserver.Anton Khirnov2014-06-18
| | | | | | | It has not been properly maintained for years and there is little hope of that changing in the future. It appears simpler to write a new replacement from scratch than unbreaking it.
* flvenc: Don't over-count metadata.Josh Allmann2014-06-17
| | | | | | Over-counting occurs if framerate is not set. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: dump stream side data when probingVittorio Giovara2014-06-14
|
* lavf: group dump functions togetherVittorio Giovara2014-06-14
|
* Remove some unnecessary CONFIG_FOO_COMPONENT ifdefsDiego Biurrun2014-06-12
| | | | The files are only ever compiled if that condition is true.
* mpegts: Provide an option to override the pcr periodLuca Barbato2014-06-10
| | | | Certain hardware demuxer have specific restrictions for PCR periodicity.
* mpegts: Move the option section to the bottomLuca Barbato2014-06-10
| | | | | Makes it consistent with the rest of the formats and ease usage of macros constants for the defaults.