summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* fix nsvdec.c compilation if DEBUG definedMaksym Veremeyenko2011-02-15
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegtsenc: whitespace cosmeticsMans Rullgard2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: set audio_type according to st->dispositionAnssi Hannula2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegts: set st->disposition according to ISO 639 language descriptorAnssi Hannula2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: add AV_DISPOSITION_CLEAN_EFFECTS flagAnssi Hannula2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mmst: fix reading uninitialized data for ping packets.Ronald S. Bultje2011-02-14
| | | | | Fixes errors after a few minutes (first ping) when playing back mmst://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
* asfdec: fix build for big endian targetsMans Rullgard2011-02-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* wtv: ignore empty data_guid chunksPeter Ross2011-02-13
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: don't export empty metadataAnton Khirnov2011-02-13
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: split reading stream properties out of asf_read_header()Anton Khirnov2011-02-13
| | | | | | This contains a rename from gsize->size Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mmst: print packet type with error status code messageFrancesco Cosoleto2011-02-13
| | | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: print stream disposition in dump_stream_formatAnssi Hannula2011-02-13
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* spdifenc: fix byte order on big-endian systemsAnssi Hannula2011-02-13
| | | | | | | | | | | | | | | | | | | There is a check for HAVE_BIGENDIAN when outputting the IEC 61937 stream. On big-endian systems the payload data is not byteswapped, causing in effect the outputted payload data to be in a different byte order on big-endian than on little-endian systems. However, the IEC 61937 preamble (and the final odd byte if present) is always outputted in the same byte order. This means that on big-endian systems the headers have a different byte order than the payload, preventing useful use of the output. Fix that by outputting the data in a format suitable for sending to an audio device in S16LE format by default. Output as big-endian (S16BE) is added as an AVOption. This makes the muxer output the same on all archs by default. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* spdifenc: IEC 61937 encapsulation of DTS-HD for HDMIAnssi Hannula2011-02-13
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* movenc: Force first sample as SYNCTakashi Mochizuki2011-02-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtsp/rdt: Assign the RTSPStream index to AVStream->idMartin Storsjö2011-02-11
| | | | | | | | | | | | This is used for mapping AVStreams back to their corresponding RTSPStream. Since d9c0510, the RTSPStream pointer isn't stored in AVStream->priv_data any longer, breaking this mapping from AVStreams to RTSPStreams. Also, we don't need to clear the priv_data in rdt cleanup any longer, since it isn't set to duplicate pointers. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: deprecate AVFormatContext.index_builtAnton Khirnov2011-02-10
| | | | | | | it's not touched anywhere in ffmpeg, the code setting it was removed over two years ago (e9b78eeba22b050810a507e69df1b652e56ab62b). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: deobfuscate reading video properties sizeAnton Khirnov2011-02-10
| | | | | | | This code will be later split out into a function which takes a 'size' argument, so I'm keeping the name 'sizeX' here. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: split asf_read_header()Anton Khirnov2011-02-10
| | | | | | | Only trivial splits are done here -- i.e. copy/paste + reindent + missing variable declarations. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: mark streams intended for hearing or visual impaired personsPeter Ross2011-02-10
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* make av_find_best_stream() ignore streams marked with AV_DISPOSITION_*_IMPAIREDPeter Ross2011-02-10
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* add AV_DISPOSITION_HEARING_IMPAIRED and AV_DISPOSITION_VISUAL_IMPAIREDPeter Ross2011-02-10
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Remove final semicolon from some macrosMans Rullgard2011-02-10
| | | | | | This avoids double semicolons after macro expansion. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mov: remove stray semicolonMans Rullgard2011-02-10
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* asfdec: skip the stream bitrate listAnton Khirnov2011-02-10
| | | | | | Its contents aren't used for anything. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: use an ASFContext array for storing stream bitratesAnton Khirnov2011-02-09
| | | | | | This will be useful for splitting asf_read_header() Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: move DAR list to ASFContextAnton Khirnov2011-02-09
| | | | | | This will be useful for splitting asf_read_header() Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* udp: Enable address reuse by default for multicastDavid Fries2011-02-09
| | | | | | | | Keep the original corner case behaviour, where reuse is enabled for the case where no argument is given to the reuse url option. Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: remove some write-only values from the contextAnton Khirnov2011-02-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* asf: split ASFContext into muxer and demuxer parts.Anton Khirnov2011-02-09
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegts: remove unused macro MAX_SCAN_PACKETSVladimir Pantelic2011-02-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Frame-based multithreading framework using pthreadsAlexander Strange2011-02-09
| | | | | | See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asf: make ff_guidcmp inline and move it to asf.hAnton Khirnov2011-02-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: rename ff_probe_input_buffer to make it publicAnssi Hannula2011-02-08
| | | | | | | It is useful for applications that hand input data directly to lavf via a ByteIOContext. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: simplify pb parameter of ff_probe_input_bufferAnssi Hannula2011-02-08
| | | | | | | There is no need to pass the ByteIOContext via a pointer to a pointer anymore. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: update ff_probe_input_buffer documentationAnssi Hannula2011-02-08
| | | | | | It never reopens the bytestream anymore. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* oggdec: Fix incorrect assumption about header/data interleavingReimar Döffinger2011-02-08
| | | | | | | | | | | | Currently (since the data_offset fix) the ogg demuxer assumes that after the first non-header packets in any stream no more header packets will follow. This is not guaranteed, so change the code back again to wait until it has finished the headers for all streams before returning from ogg_get_headers. This fixes issue 2428. Signed-off-by: Mans Rullgard <mans@mansr.com>
* matroskadec: add generic element length validation.Reimar Döffinger2011-02-06
| | | | | | | | | | | | This validate the length of a mkv element directly after reading it. This has the advantage that it is easy to add new limits and makes it less likely to forget to add checks and also avoids issues like bits of the length value above the first 32 being ignored because the parsing functions only takes an int. Previously discussed in the "mkv 0-byte integer parsing" thread. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Fix compile warning.Ronald S. Bultje2011-02-06
| | | | | Change int64_t into a int, which caused this compiler warning: libavformat/oggparseskeleton.c:64: warning: passing argument 2 of ‘av_reduce’ from incompatible pointer type
* avidec: simplify read_gab2_subAnton Khirnov2011-02-06
| | | | | | | | | | Use avio functions instead of bytestream ones (also drops dependency on lavc and removes a bunch of warnings). Drop custom version of avio_get_str16 and use that instead. Tested on mewmew-ssa.avi sample. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: move internal functions from avformat.h to internal.hAnton Khirnov2011-02-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Make av_set_pts_info keep previous time base if new one is invalid.Reimar Döffinger2011-02-06
| | | | | | Fixes issue 2475. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Always use av_set_pts_info to set the stream time base.Reimar Döffinger2011-02-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* pass QDMC extradata to the decoderSascha Sommer2011-02-06
| | | | | | | Makes playing QDMC files in MPlayer work when using the libavformat demuxer. Problem was that the extradata was not passed from demuxer to decoder. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Update MINOR and set git rev for non-blocking flag API addition.Ronald S. Bultje2011-02-06
|
* Replace remaining occurrences of deprecated CH_* with AV_CH_*Anton Khirnov2011-02-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Non-blocking protocol: TCPNicolas George2011-02-05
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Non-blocking protocol: core wrapper functionsNicolas George2011-02-05
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Non-blocking protocols: flag and documentationNicolas George2011-02-05
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mp3enc: write ISO8859-1 instead of UTF-16 when possibleAnton Khirnov2011-02-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>