- 27 Feb, 2012 2 commits
-
-
Michael Niedermayer authored
The index validation identifies these indexes as broken. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
By validating the index entries while reading, we don't need to seek at startup to validate the entries. If the error in the index entries is not pointing to (our definition of) the start of packets, and there is an index entry pointing at some of the first packets after the metadata, the invalid index can be discarded almost immediately. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 22 Feb, 2012 2 commits
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Also split a long line. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 31 Jan, 2012 1 commit
-
-
Anton Khirnov authored
The demuxers don't use it in any way.
-
- 30 Jan, 2012 1 commit
-
-
Martin Storsjö authored
Previously, we've only passed the key string on to the recursive amf_parse_object for the mixedarray type, not for 'object'. By passing the key string on, the recursive amf_parse_object can store the amf objects as metadata. This kind of data was seen in data from XSplit Broadcaster, received over RTMP via Wowza. This patch allows reading this metadata. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 27 Jan, 2012 1 commit
-
-
Anton Khirnov authored
-
- 04 Jan, 2012 1 commit
-
-
Jean First authored
These can't be used uninitialized in practice, but the compiler doesn't realize it. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 21 Dec, 2011 2 commits
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Compared to just overwriting the old extradata, this has the advantage of letting the decoder know exactly when the extradata changed (otherwise it is changed immediately when the new extradata packet is demuxed, even if there's old queued packets awaiting to be decoded). This makes it easier for decoders to actually react to the change, so they won't have to inspect the extradata for each packet to see if it might have changed. This works when sequentially playing a file with sample rate changes, but if seeking past a new extradata packet in the file, it obviously doesn't work properly. That case doesn't work in flash player either, so it's probably ok not to handle it. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 11 Dec, 2011 1 commit
-
-
Mans Rullgard authored
The existing functions defined in intfloat_readwrite.[ch] are both slow and incorrect (infinities are not handled). This introduces a new header with fast, inline conversion functions using direct union punning assuming an IEEE-754 system, an assumption already made throughout the code. The one use of Intel/Motorola extended 80-bit format is replaced by simpler code sufficient under the present constraints (positive normal values). The old functions are marked deprecated and retained for compatibility. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 02 Dec, 2011 1 commit
-
-
Janne Grunau authored
Pass the correct size in bits to mpeg4audio_get_config and add a flag to disable parsing of the sync extension when the size is not known. Latm with AudioMuxVersion 0 does not specify the size of the audio specific config. Data after the audio specific config can be misinterpreted as sync extension resulting in random and wrong configs.
-
- 30 Nov, 2011 1 commit
-
-
Anton Khirnov authored
It's supposed to be called only from (de)muxers.
-
- 21 Oct, 2011 1 commit
-
-
Reimar Döffinger authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 20 Oct, 2011 1 commit
-
-
Anton Khirnov authored
Specifically, ff_mpeg4audio_sample_rates, ff_mpeg4audio_get_config and ff_copy_pce_data
-
- 19 Oct, 2011 1 commit
-
-
Anton Khirnov authored
Manual replacements are done in this commit. In many cases, the id is some constant made up number (e.g. 0 for video and 1 for audio), which is then not used in the demuxer for anything. Those ids are removed.
-
- 12 Oct, 2011 2 commits
-
-
Martin Storsjö authored
This avoids writing these entries doubly if transcoding from flv to flv, since the muxer blindly writes any and all metadata keys set, in addition to the fixed fields that the muxer always writes. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 25 Sep, 2011 1 commit
-
-
Michael Niedermayer authored
On allocation, the array length is multiplied by sizeof(int64_t), this prevents the multiplication from overflowing. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 24 Sep, 2011 1 commit
-
-
Laurent Aimar authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 23 Sep, 2011 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 17 Jul, 2011 1 commit
-
-
Anton Khirnov authored
It's more readable and less prone to breakage.
-
- 05 Jul, 2011 1 commit
-
-
Diego Biurrun authored
-
- 03 Jul, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 08 Jun, 2011 1 commit
-
-
Anton Khirnov authored
-
- 17 May, 2011 1 commit
-
-
Alex Converse authored
-
- 12 Apr, 2011 3 commits
-
-
Martin Storsjö authored
Stop the avio input at a point where amf_parse_object can continue parsing the end of the object seamlessly, when all data is available. If unsupported data is encountered within the keyframes object, try seeking to the start of the keyframes object - if the seek back was successful, the caller can continue parsing the rest of the AMF data. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
It seems their replacements won't be ready anytime soon.
-
Kharkov Alexander authored
Current keyframes data parser unconditionally rewind metadata to the end at the end of function. As result ALL metadata located after keyframes index not parsed, and as metadata object can have ANY placement inside metadata it can lead to unpredictable result (bitrate can not be found, etc.). As result FLV movie will not play at all in such situation. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 04 Apr, 2011 1 commit
-
-
Justin Ruggles authored
fixes Issue 2674
-
- 03 Apr, 2011 1 commit
-
-
Anton Khirnov authored
Use it instead of url_is_streamed and AVIOContext.is_streamed.
-
- 31 Mar, 2011 1 commit
-
-
Kharkov Alexander authored
'keyframes' metatag is not part of the standard, it is just convention to use such kind of metatag information for indexing. Structure is following, it allows to have it inconsistent: keyframes: times (array): time0 (num) time1 (num) time2 (num) filepositions (array) position0 (num) position1 (num) Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 21 Mar, 2011 1 commit
-
-
Anton Khirnov authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 17 Mar, 2011 1 commit
-
-
Anton Khirnov authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 07 Mar, 2011 2 commits
-
-
Anton Khirnov authored
AVIOContext.eof_reached should be used directly instead. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Anton Khirnov authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 04 Mar, 2011 1 commit
-
-
Anton Khirnov authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 01 Mar, 2011 2 commits
-
-
Anton Khirnov authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Anton Khirnov authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-