summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* mpegtsenc: set reserved bits to 1 in PCR fieldGeorgi Chorbadzhiyski2011-01-26
| | | | | | | The reserved bits between PCR base and extension fields must be set to 1. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make ff_rtsp_send_cmd_with_content_async static to rtsp.c.Diego Elio Pettenò2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make ff_mxf_pixel_layouts static to mxf.c.Diego Elio Pettenò2011-01-25
| | | | | | Also make it an anonymous structure as never it is accessed by name. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make ff_interleave_compare_dts static to utils.c.Diego Elio Pettenò2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* mov: simplify mov_read_chapters() by using avio_get_str16beAnton Khirnov2011-01-25
| | | | | | It probably also fixes a memleak or two. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* asfdec: remove some commented-out cruftAnton Khirnov2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* lavf: make a variant of ff_get_str16_nolen publicAnton Khirnov2011-01-25
| | | | | | It will be useful in mp3 demuxer and hopeful some other places. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* ffmetaenc: Use correct format specifiers.Jai Menon2011-01-25
| | | | | Use printf format macros from inttypes.h. Additionally, this fixes a warning when building with clang.
* tty: remove superflous #include <strings.h>Mans Rullgard2011-01-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: remove unused variablesGeorgi Chorbadzhiyski2011-01-25
| | | | | | | | | | | | | Remove two variables that were not used and caused the following warnings: CC libavformat/mpegtsenc.o libavformat/mpegtsenc.c: In function 'mpegts_write_section': libavformat/mpegtsenc.c:72:18: warning: unused variable 'ts' libavformat/mpegtsenc.c: In function 'mpegts_insert_null_packet': libavformat/mpegtsenc.c:586:18: warning: unused variable 'ts' Signed-off-by: Mans Rullgard <mans@mansr.com>
* avidec: make print_tag() a macro and remove related ifdefsMans Rullgard2011-01-25
| | | | | | | The dprintf macro is a no-op if DEBUG is not defined, so there is no need to guard it here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make RTPFirstDynamicPayloadHandler static to rtpdec.cDiego Elio Pettenò2011-01-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make ff_realmedia_mp3_dynamic_handler static.Diego Elio Pettenò2011-01-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Don't check for DEBUG before using dprintf.Diego Elio 'Flameeyes' Pettenò2011-01-25
| | | | | | | The dprintf macro is no-op when DEBUG is unset, so there is no need to put it conditional to DEBUG. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make dvenc.c functions static to the unit.Diego Elio Pettenò2011-01-25
| | | | | | | Also drop some CONFIG_DV_MUXER #ifdefs probably vestigial from before the split of dvenc and dvdec. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtspdec: Retry with TCP if UDP failedMartin Storsjö2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtspdec: Move rtsp_read_pause up, next to rtsp_read_playMartin Storsjo2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtsp: Use ff_rtsp_undo_setup in the cleanup code in ff_rtsp_make_requestMartin Storsjo2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtsp: Split out a function undoing the setup made by ff_rtsp_make_setup_requestMartin Storsjo2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtsp: Make make_setup_request a nonstatic functionMartin Storsjo2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* applehttp: Fix the key check in handle_variant_argsMartin Storsjö2011-01-24
| | | | | | | | The key string is supposed to contain the equals character, too. Since the checked string was wrong, and the return value check was wrong too, it incorrectly seemed to work right before. Signed-off-by: Mans Rullgard <mans@mansr.com>
* reindent after last commitKostya2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Extend WavPack demuxer and decoder to support >2 channel audioKostya2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* mp3enc: support for id3v2.3 tags using a per-muxer AVOptionAnton Khirnov2011-01-22
| | | | | | fixes issue2562. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* id3v2: split tables for various ID3v2 versionsAnton Khirnov2011-01-22
| | | | | | This is needed for upcoming ID3v2.3 muxing support. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* mp3enc: handle errors in id3v2_put_ttagAnton Khirnov2011-01-22
| | | | | | | | | | make the initialization of put clearer this are the differences between [FFmpeg-devel] [PATCH 1/3] mp3enc: add support for writing UTF-16 tags and the already applied 187e23478bc5c066ff8eef562925471ac179644e Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Move ID3v1 skip from decoder to demuxerClément Bœsch2011-01-22
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* mp3enc: add support for writing UTF-16 tagsAnton Khirnov2011-01-21
| | | | | | Also it gets rid of some mysterious magic numbers in code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: move ff_put_str16_nolen from asf to avio and rename itAnton Khirnov2011-01-21
| | | | | | It will be useful in the mp3 muxer. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: add av_put_str and deprecate put_strz in favor of itAnton Khirnov2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: move the version macros to a new headerAnton Khirnov2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* id3v2: use an enum for encodings instead of magic numbers.Anton Khirnov2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Split mp3 demuxer and muxer into separate files.Anton Khirnov2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: prefer metadata keyed with "service_name"Janne Grunau2011-01-20
| | | | | | title metadata is only used as fallback if no service_name is available. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Set service_provider and service_name in mpegts demuxerGeorgi Chorbadzhiyski2011-01-20
| | | | | | | | Set service_provider and service_name in mpegts demuxer, previously name and provider_name were set but since the muxer uses service_provider and service_name use them. Signed-off-by: Mans Rullgard <mans@mansr.com>
* id3v2: don't overwrite existing tagsAnton Khirnov2011-01-20
| | | | | | | | | | Apparently some broken taggers prepend a new ID3v2 tag leaving the existing one intact. Our parser currently reads all tags and overwrites existing values with supposedly outdated ones. fixes issue2419 Signed-off-by: Mans Rullgard <mans@mansr.com>
* id3v2: convert metadata after all the tags were readAnton Khirnov2011-01-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* id3v2: make ff_id3v2_parse staticAnton Khirnov2011-01-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add service_provider and service_name metadataGeorgi Chorbadzhiyski2011-01-20
| | | | | | | | | | | | | | This patch adds support in mpegts muxer for using service_provider and service_name metadata to set service_provider_name and service_name fields in SDT. Example usage: ffmpeg -i file.ts -f mpegts -re -acodec copy -vcodec copy -f mpegts \ -metadata service_provider="Some provider" \ -metadata service_name="Some Channel" \ "udp://239.0.70.2:5000?pkt_size=1316&ttl=1" Signed-off-by: Mans Rullgard <mans@mansr.com>
* consolidate .gitignore patters into a single fileJanne Grunau2011-01-18
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Revise check for codec id in voc demuxer.Justin Ruggles2011-01-18
| | | | This fixes demuxing of packets that do not contain a codec tag and come before the codec_id has been set.
* Fix bug in voc demuxer that was introduced in SVN r26309.Justin Ruggles2011-01-18
| | | | Fixes issue 2560.
* Missing parts of IVF muxer support.Reimar Döffinger2011-01-18
|
* Add muxer for IVF format.Reimar Döffinger2011-01-17
|
* prevent integer overflow in calculating durationJohn Wimer2011-01-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* convert svn:ignore properties to .gitignore filesJanne Grunau2011-01-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Check 4xm headers for validity. This should avoid 1/0.Michael Niedermayer2011-01-16
| | | | Originally committed as revision 26392 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Parse fact chunks from wav files to find duration.Michael Niedermayer2011-01-15
| | | | Originally committed as revision 26370 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factor tag reading code out of wav read_header()Michael Niedermayer2011-01-15
| | | | Originally committed as revision 26369 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set duration for wav files from sample size and data size or the wf64 sample ↵Michael Niedermayer2011-01-15
| | | | | | | | | value. This should improve duration accuracy slightly and avoids a warning about its inaccuracy when accurate values are available. Idea by Frank Barchard Originally committed as revision 26366 to svn://svn.ffmpeg.org/ffmpeg/trunk