summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
...
* asf/wtv: use service_provider and service_name metadata tagsRonald S. Bultje2011-01-311-0/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegts: remove get_pts duplicate of ff_parse_pes_pts.Vasyl' Vavrychuk2011-01-302-12/+5
| | | | | Signed-off-by: Vasyl' Vavrychuk <vvavrychuk@gmail.com> Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-2917-140/+140
| | | | dprintf clashes with POSIX.1-2008
* Vorbis-in-Ogg: Do not set timebase to invalid valuesReimar Döffinger2011-01-291-3/+7
| | | | | | | | | | Avoids an assert when the sample rate is invalid and the timebase is thus set to e.g. 1/0. Sample file is http://samples.mplayerhq.hu/ogg/fuzzed-srate-crash.ogg This is a quick fix for a crash, not a final solution. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: support CODEC_ID_AAC_LATMPeter Ross2011-01-282-0/+4
| | | | | | | | | | | | | | | $subject. Have used this for loopback testing with mpegts.c. -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) [2. text/x-diff; 0001-mpegtsenc-support-CODEC_ID_AAC_LATM.patch] From 0f7f9db4b7da1793996af6dda84298507703759a Mon Sep 17 00:00:00 2001 From: Peter Ross <pross@xvid.org> Date: Sun, 9 Jan 2011 09:45:50 +1100 Subject: [PATCH] mpegtsenc: support CODEC_ID_AAC_LATM Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtspenc: include os_support.h for system without HAVE_POLL_HDave Yeo2011-01-281-0/+1
| | | | | | fix compile on OS/2 Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* asfdec: ensure that the whole tag is read.Anton Khirnov2011-01-281-4/+5
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* os_support: make poll() fallbacks conditional on CONFIG_NETWORKMans Rullgard2011-01-282-3/+1
| | | | | | | | | | | poll() is only used by networking code, so the fallback should only be built if networking is enabled. Also remove CONFIG_FFSERVER condition from the declarations. This should fix building on systems without poll(), broken by a8475bbdb64e638bd8161df9647876fd23f8a29a. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make the image2 demuxer log more verboseStefano Sabatini2011-01-281-1/+3
| | | | | | | Add an error message in case the user requests to write more than one file and the path does not contain a "%d" or "%0Nd" pattern. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* In mpegts "reserved_future_use" field must be set to 1 in SDT tableGeorgi Chorbadzhiyski2011-01-281-1/+3
| | | | | | | | | | | According to EN 300 468 section 3.1 (Definitions): Unless otherwise specified within the present document all "reserved_future_use" bits is set to "1". This was not the case for SDT generation so this patch fixes it. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtsp: make ff_sdp_parse return value forwardedLuca Barbato2011-01-282-2/+3
| | | | | the sdp demuxer did not forward it at all while the rtsp demuxer assumed a single kind of error
* os: replace select with pollLuca Barbato2011-01-288-110/+73
| | | | | Select has limitations on the fd values it could accept and silently breaks when it is reached.
* Hide demuxers', muxers' and protocols' objects via the ld version script.Diego Elio Pettenò2011-01-281-0/+4
| | | | | | This reduces the symbols exported by libavformat from 699 to 451. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mov: add support for little-endian utf16 chapter namesJohn Stebbins2011-01-281-0/+2
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* movenc: byteswap codec_tag in mov_write_ms_tagJanne Grunau2011-01-281-2/+2
| | | | based on Alex Converse's "Fix ADPCM MS in mov muxing" patch
* In mov muxer, mux adpcm_ms and adpcm_ima_wav the way quicktime supports itBaptiste Coudurier2011-01-282-1/+29
| | | | | | In mov demuxer, set adpcm_ms and adpcm_ima_wav frame size to stsd samples per packet. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26174-257/+257
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* mov: simplify mov_read_chapters() by using avio_get_str16beAnton Khirnov2011-01-261-21/+15
| | | | | | It probably also fixes a memleak or two. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Revert "mov: simplify mov_read_chapters() by using avio_get_str16be"Mans Rullgard2011-01-261-11/+22
| | | | | This reverts commit c34461b35b68ff1f3d04540e0279383c51be8cee. The wrong version of the patch was committed.
* Make ff_cmap_read_palette static to libavcodec/iff.c. Delete iff.h.Diego Elio Pettenò2011-01-261-1/+0
| | | | | | | | The iff.h header only declared one function that is now static, the libavformat/iff.c source file wasn't using it before. Drop the file entirely. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: set reserved bits to 1 in PCR fieldGeorgi Chorbadzhiyski2011-01-261-1/+1
| | | | | | | 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-252-23/+18
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make ff_mxf_pixel_layouts static to mxf.c.Diego Elio Pettenò2011-01-252-8/+4
| | | | | | 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-252-2/+1
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* mov: simplify mov_read_chapters() by using avio_get_str16beAnton Khirnov2011-01-251-22/+11
| | | | | | 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-251-43/+0
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* lavf: make a variant of ff_get_str16_nolen publicAnton Khirnov2011-01-253-20/+41
| | | | | | 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-251-2/+4
| | | | | 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-251-1/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: remove unused variablesGeorgi Chorbadzhiyski2011-01-251-2/+0
| | | | | | | | | | | | | 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-251-19/+12
| | | | | | | 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-252-2/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make ff_realmedia_mp3_dynamic_handler static.Diego Elio Pettenò2011-01-251-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Don't check for DEBUG before using dprintf.Diego Elio 'Flameeyes' Pettenò2011-01-251-4/+0
| | | | | | | 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-252-9/+4
| | | | | | | 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-243-2/+56
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtspdec: Move rtsp_read_pause up, next to rtsp_read_playMartin Storsjo2011-01-241-18/+18
| | | | 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-241-6/+1
| | | | 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-242-22/+43
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtsp: Make make_setup_request a nonstatic functionMartin Storsjo2011-01-242-2/+9
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* applehttp: Fix the key check in handle_variant_argsMartin Storsjö2011-01-241-1/+1
| | | | | | | | 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-241-19/+19
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Extend WavPack demuxer and decoder to support >2 channel audioKostya2011-01-241-16/+108
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* mp3enc: support for id3v2.3 tags using a per-muxer AVOptionAnton Khirnov2011-01-221-11/+36
| | | | | | fixes issue2562. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* id3v2: split tables for various ID3v2 versionsAnton Khirnov2011-01-223-38/+82
| | | | | | 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-221-7/+14
| | | | | | | | | | 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-221-0/+5
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* mp3enc: add support for writing UTF-16 tagsAnton Khirnov2011-01-211-17/+31
| | | | | | 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-216-23/+27
| | | | | | 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-215-6/+27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
OpenPOWER on IntegriCloud