summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avformat: split out common SMJPEG codePaul B Mahol2012-01-16
| | | | | | This is a preparation for adding SMJPEG muxer. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* mov, mxfdec: Employ more meaningful return values.Daniel Huang2012-01-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* utils: Check for extradata size overflows.Alex Converse2012-01-12
|
* avio: Fix the value of the deprecated URL_FLAG_NONBLOCKMartin Storsjö2012-01-12
| | | | | | | | | | This isn't used in practice anywhere within libav at the moment, but change it for consistency until it is removed. URL_RDONLY/WRONLY were fixed in commit 5b81e295931 (after the values that actually were used were changed at the major bump, in commit cbea3ac8), but this flag was unintentionally left unfixed. Signed-off-by: Martin Storsjö <martin@martin.st>
* ffmenc: remove references to deprecated AVFormatContext.timestamp.Anton Khirnov2012-01-12
|
* lavf: undeprecate read_seek().Anton Khirnov2012-01-12
| | | | The "new seeking API" was never finished and nobody is working on it.
* riff: remove references to sonic codec idsAnton Khirnov2012-01-12
| | | | They are deprecated and will be purged on next major bump.
* gsm demuxer: use generic seeking instead of a gsm-specific function.Justin Ruggles2012-01-11
| | | | | Since packets all contain only a single block, the generic seek function can be used while still maintaining block-accuracy.
* gsm demuxer: return packets with only 1 gsm block at a time.Justin Ruggles2012-01-11
| | | | | fixes stream copy of raw gsm to mov. tested with QuickTime.
* wtv: fix memleaks during normal operationJanne Grunau2012-01-11
|
* ipmovie: fix pts for CODEC_ID_INTERPLAY_DPCMJustin Ruggles2012-01-10
| | | | frame sample count calculation was incorrect
* sierravmd: fix audio ptsJustin Ruggles2012-01-10
| | | | | The duration of the first packet was being calculated incorrectly, leading to an incorrect timestamp offset.
* movenc: Don't store a nonzero creation time if nothing was set by the callerMartin Storsjö2012-01-10
| | | | | | | | | If the creation time is stored in the file as a zero, the mov demuxer skips exporting the creation time. Currently, files muxed without a creation time get demuxed with a Jan 1st 1970 creation timestamp. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Skip compiling network.h and rtsp.h if networking is not enabled.Diego Biurrun2012-01-07
| | | | | | rtsp.h relies on network.h and the latter conditionally defines fallback OS structures that rely on configure tests, which are only run if networking is enabled.
* cosmetics: drop some pointless parenthesesDiego Biurrun2012-01-07
|
* vqf: recognize more metadata chunksPaul B Mahol2012-01-07
| | | | | | | Do not create tags for non-char chunks. Create readable tag for DSIZ chunk. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* tta: Fix returned error code at EOFMichael Niedermayer2012-01-07
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* tta: fix off be 1 error in the end detection.Michael Niedermayer2012-01-07
| | | | | | | Fixes use of uninitialized values. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* ipmovie: Add param change side data if the video dimensions have changedPaul B Mahol2012-01-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* electronicarts: check bytes per sample for validityJanne Grunau2012-01-07
| | | | Prevents division by zero.
* vqf: add more known extensionsPaul B Mahol2012-01-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* spdifenc: use special alignment for DTS-HD length_codeAnssi Hannula2012-01-05
| | | | | | | | Align IEC 61937 length_code for DTS-HD so that (length_code & 0xf) == 0x8. This is reportedly needed with some receivers. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ipmovie: do not read audio packets before the codec is knownJanne Grunau2012-01-05
| | | | Prevents a division by zero.
* avio: Only do implicit network initialization for network protocolsMartin Storsjö2012-01-05
| | | | | | | | | | The implicit network initialization is set to be removed in the future, but is kept for compatibility. By not doing the implicit initialization for non-network protocols, we avoid the warning about avformat_network_init() not being called for these, where it really doesn't make much sense. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Add an URLProtocol flag for indicating that a protocol uses networkMartin Storsjö2012-01-05
| | | | | | | This definition is in two files, since the definitions will move to the private header at the next bump. Signed-off-by: Martin Storsjö <martin@martin.st>
* matroskadec: Fix a bug where a pointer was cached to an array that might ↵Chris Evans2012-01-05
| | | | | | | | | | later move due to a realloc() Fixes bug #190 Chromium bug #100492 related to CVE-2011-3893 Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* mov: Support MOV_CH_LAYOUT_USE_DESCRIPTIONS for labeled descriptions.Alex Converse2012-01-05
|
* lavf: cosmetics, reformat av_read_frame().Anton Khirnov2012-01-05
|
* lavf: refactor av_read_frame() to make it easier to understand.Anton Khirnov2012-01-05
|
* mtv: Make sure audio_subsegments is not 0Shitiz Garg2012-01-04
| | | | | | | audio_subsegments would be 0 and cause floating point exceptions Fixes bugzilla #144 Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* flvdec: Fix compiler warning for uninitialized variablesJean First2012-01-04
| | | | | | | These can't be used uninitialized in practice, but the compiler doesn't realize it. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Fix compiler warning for uninitialized variableJean First2012-01-04
| | | | | | | This one won't ever be used uninitialized in practice, but the compiler doesn't realize it. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: exit early in fill_buffer without read_packetJanne Grunau2012-01-04
| | | | | | | Fixes an invalid free() with ass in avi. The sample in bug 98 passes parts of AVPacket.data as buffer for the AVIOContext. Since the packet is quite large fill_buffer tries to reallocate the buffer before doing nothing. Fixes bug 98.
* adx: add an adx muxerJustin Ruggles2012-01-03
|
* adx: add AVFMT_GENERIC_INDEX to demuxer flags.Justin Ruggles2012-01-03
| | | | fixes seeking
* lavf: flush decoders in avformat_find_stream_info().Anton Khirnov2012-01-03
| | | | | This means that avformat_find_stream_info() now works properly with multiple threads, so there's no need to force thread count to 1.
* Fix a bunch of typos.Diego Biurrun2012-01-02
|
* Drop some pointless void* return value casts from av_malloc() invocations.Diego Biurrun2012-01-02
|
* mpegenc: simplify muxrate calculationJanne Grunau2012-01-02
| | | | | | | The fate-h264-bsf-mp4toannexb failures were caused by an integer overflow of the unneeded multiplication. Inspired by patch by: Michael Niedermayer <michaelni@gmx.at>
* rawdec: Set start_time to 0 for raw audio files.Reimar Döffinger2012-01-01
| | | | | | | None of the raw audio files have timestamps, thus setting start_time to 0 should be reasonable. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Detect 'yuv2' as rawvideo also in avi.Carl Eugen Hoyos2012-01-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* threads: default to automatic thread count detectionJanne Grunau2011-12-31
|
* applehttpproto: Apply the same reload interval changes as for the demuxerAndrey Utkin2011-12-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* applehttp: Use half the target duration as interval if the playlist didn't ↵Martin Storsjö2011-12-29
| | | | | | | | | update This is mandated in draft-pantos-http-live-streaming-07, section 6.3.4. Signed-off-by: Martin Storsjö <martin@martin.st>
* applehttp: Use the last segment duration as reload intervalAndrey Utkin2011-12-29
| | | | | | | | According to draft-pantos-http-live-streaming-07, 6.3.4, the duration of the last media segment in the playlist should be used as initial minimum reload delay. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegts: adjustable minimum PES payloadJindřich Makovička2011-12-28
| | | | | | | | | | | | With the current default PES packet size, and very small audio bitrates, audio packet duration gets too long. For players, which wait for a whole audio packet (or more) it takes a very long time to start playing sound. For 24kbps audio, one PES packet is about 1 second long. On Motorola STBs, we observe about 3 second delay before the playback starts with the default setting. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegts: properly output large audio packetsJindřich Makovička2011-12-28
| | | | | | | | Do not assume the audio packets being always smaller than DEFAULT_PES_PAYLOAD_SIZE. Signed-off-by: Jindřich Makovička <makovick@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avformat: Add SMJPEG demuxer.Paul B Mahol2011-12-28
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* build: fix standalone compilation of OMA muxerDiego Biurrun2011-12-23
| | | | The muxer depends on the id3v2 writing code, so link against it.
* build: fix standalone compilation of Microsoft XMV demuxerDiego Biurrun2011-12-23
| | | | The demuxer depends on the RIFF codec tags code, so link against it.