summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* CDXL demuxer and decoderPaul B Mahol2012-02-144-1/+173
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* hls: Re-add legacy applehttp name to preserve interface compatibility.Alex Converse2012-02-141-1/+1
|
* hlsproto: Rename the functions and contextMartin Storsjö2012-02-141-20/+20
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* hlsproto: Encourage users to try the hls demuxer instead of the protoMartin Storsjö2012-02-141-0/+6
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Rename the applehttp protocol to hlsMartin Storsjö2012-02-144-2/+38
| | | | | | | | | | | | | | | | | Keep the old protocol name around for backwards compatibility until the next bump. Deprecate the method of implicitly assuming the nested protocol. For applehttp://server/path, it might have felt logical, but supporting hls://server/path isn't quite as intuitive. Therefore only support hls+http://server/path from now on. Using this protocol at all is discouraged, since the hls demuxer is more complete and fits into the architecture better. There have been cases where the protocol implementation worked better than the demuxer, but this should no longer be the case. Signed-off-by: Martin Storsjö <martin@martin.st>
* hls: Rename the functions and contextMartin Storsjö2012-02-141-22/+22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Rename the applehttp demuxer to hlsMartin Storsjö2012-02-143-4/+4
| | | | | | | | When this demuxer was created, there didn't seem to be any consensus of a common short name for this protocol. Now the consensus seems to be to call it hls. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Support H263 in RFC 2190 formatMartin Storsjö2012-02-144-0/+187
| | | | | | | | | This is different from the "modern" RTP payload formats for H263 as defined by RFC 4629, 2429 and 3555. According to the newer RFCs, this old one is to be considered deprecated and only be used for interoperating with legacy systems. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Support muxing VC1Martin Storsjö2012-02-142-1/+175
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* librtmp: Add "lib" prefix to librtmp URLProtocol declarations.Diego Biurrun2012-02-143-18/+15
| | | | | | This allows easily differentiating between both implementations within the build system and combining the native implementation for plain RTMP with librtmp for the RTMPE, RTMPS, RTMPT, RTMPTE protocol variants.
* movenc: Use defines instead of hardcoded numbers for RTCP typesMartin Storsjö2012-02-141-1/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* smjpegdec: implement seekingPaul B Mahol2012-02-141-0/+5
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rtpdec: Use 4 byte startcodes for H.264Matthew Szatmary2012-02-131-2/+2
| | | | | | | | If muxing into mpegts, 4 byte startcodes for the first NAL of an access unit is required. Thus it is simplest for the RTP depacketizer to just use 4 byte startcodes everywhere. Signed-off-by: Martin Storsjö <martin@martin.st>
* matroskadec: Mark variable as av_unused.Diego Biurrun2012-02-131-1/+1
| | | | This avoids unused variable warnings when zlib/bzlib are not available.
* Move some conditionally used variables into the block where they are used.Diego Biurrun2012-02-132-2/+2
| | | | This allows dropping the av_unused argument from them.
* Drop some completely unnecessary av_unused attributes.Diego Biurrun2012-02-131-1/+1
|
* movenc: Support muxing wmapro in ismv/ismaMartin Storsjö2012-02-131-2/+17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegtsenc: Add an AVOption for forcing a new PAT/PMT/SDT to be writtenMartin Storsjö2012-02-131-0/+10
| | | | | | | | When segmenting the output from the mpegts muxer, one can now set this option when cutting to a new segment, to make sure the next segment starts with PAT/PMT/SDT. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Set correct dependencies for rtmp* protocols implemented by librtmp.Diego Biurrun2012-02-131-6/+4
|
* lavf: fix aspect ratio mismatch message.Andrey Utkin2012-02-121-2/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cafdec: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-7/+12
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* yop: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-3/+5
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* tta: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-1/+2
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* tmv: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-1/+2
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* r3d: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-1/+2
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* nsvdec: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-1/+3
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mpc8: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-1/+2
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* jvdec: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-1/+2
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* filmstripdec: Check return value of avio_seek and avoid modifying state if ↵Joakim Plate2012-02-101-1/+2
| | | | | | | it fails Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* ffmdec: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-3/+4
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* dv: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-3/+4
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* bink: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-101-1/+3
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* rtpenc: Write a log message if the max packet size is too smallMartin Storsjö2012-02-101-1/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dv: Move a table used only by the demuxer out of a shared header.Alex Converse2012-02-091-0/+4
|
* dv: Fix small overread in audio frequency table.Alex Converse2012-02-091-0/+9
| | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* WavPack demuxer: set packet durationPaul B Mahol2012-02-091-0/+7
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mxfdec: Ignore the last entry in Avid's index table segmentsTomas Härdin2012-02-091-2/+6
| | | | | | | | The last entry is the total size of the essence container. Previously a TemporalOffset error would be logged, even though segments like these are expected. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Sanity-check SampleRateTomas Härdin2012-02-091-1/+4
| | | | | | This avoids a SIGFPE if SampleRate is missing or set to naughty values. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Handle small EditUnitByteCountTomas Härdin2012-02-091-2/+45
| | | | | | | These are common with audio atoms. Without this the demuxer would read two bytes at a time for a mono 16-bit file. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Consider OPAtom files that do not have exactly one EC to be OP1aTomas Härdin2012-02-091-3/+18
| | | | | | This fixes demuxing of 2011_DCPTEST_24FPS.V.mxf. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Don't crash in mxf_packet_timestamps() if current_edit_unit overflowsTomas Härdin2012-02-091-2/+2
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Zero nb_ptses in mxf_compute_ptses_fake_index()Tomas Härdin2012-02-091-1/+3
| | | | | | This fixes SIGSEGV on files with both CBR and VBR index segments (zzuf6.mxf). Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Sanity check PreviousPartitionTomas Härdin2012-02-091-0/+8
| | | | | | Without this certain files could get the demuxer stuck in a loop. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Never seek back in local sets and KLVsTomas Härdin2012-02-091-1/+17
| | | | | | | | | Specially crafted files can lead the parsing code to take too long. We fix a lot of these problems by not allowing local tags to extend past the end of the set and not allowing other KLVs to be read past the end of themselves. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Move the current_partition check inside mxf_read_header()Tomas Härdin2012-02-091-5/+7
| | | | | | This fixes SIGSEGV on files where this is the case, such as zzuf4.mxf. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Fix infinite loop in mxf_packet_timestamps()Tomas Härdin2012-02-091-1/+10
| | | | | | | This can happen if an index table segment has a very large IndexStartPosition. zzuf3.mxf is an example of such a file. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Check eof_reached in mxf_read_local_tags()Tomas Härdin2012-02-091-1/+1
| | | | | | This fixes an infinite loop with zzuf2.mxf. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Check for NULL componentTomas Härdin2012-02-091-1/+1
| | | | | | This fixes a SIGSEGV with zzuf1.mxf. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()Tomas Härdin2012-02-091-0/+6
| | | | | | | Only the OPAtom demuxing logic is guaranteed to have index tables, meaning OP1a files that lack an index would cause SIGSEGV. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Make sure x < index_table->nb_ptsesTomas Härdin2012-02-091-0/+7
| | | | | | Avoids a SIGSEGV on files with IndexEntryCount < IndexDuration. Signed-off-by: Diego Biurrun <diego@biurrun.de>
OpenPOWER on IntegriCloud