summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* ADTS: Increased protection against writing illegal/nonsense files.Alex Converse2009-03-06
| | | | Originally committed as revision 17859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add my name to copyright & author as requested by the original author.Michael Niedermayer2009-03-06
| | | | Originally committed as revision 17858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add code to the self test to print jitter & drift.Michael Niedermayer2009-03-06
| | | | Originally committed as revision 17857 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Oops, very silly typo.Ronald S. Bultje2009-03-06
| | | | Originally committed as revision 17853 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacdec: Parse the metadata header in the raw FLAC demuxer.Justin Ruggles2009-03-06
| | | | Originally committed as revision 17852 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add '#undef rand' to fix test program build.Diego Biurrun2009-03-06
| | | | Originally committed as revision 17850 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Fix test program warnings.Diego Biurrun2009-03-06
| | | | Originally committed as revision 17849 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Vertical align.Michael Niedermayer2009-03-06
| | | | Originally committed as revision 17847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Better name for integrator2_state.Michael Niedermayer2009-03-06
| | | | Originally committed as revision 17846 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add clock_period parameter, this should make the code easier to use.Michael Niedermayer2009-03-06
| | | | Originally committed as revision 17845 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Selftest code.Michael Niedermayer2009-03-06
| | | | Originally committed as revision 17844 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix bug with time==0 being special.Michael Niedermayer2009-03-06
| | | | Originally committed as revision 17843 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Adapt first factor.Michael Niedermayer2009-03-06
| | | | Originally committed as revision 17842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge ff_timefilter_read() and ff_timefilter_update(), this simplifies API andMichael Niedermayer2009-03-06
| | | | | | avoids calling them in the wrong order. Originally committed as revision 17841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow timespans to vary.Michael Niedermayer2009-03-06
| | | | | | No change in performance if they do not vary. Originally committed as revision 17840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorder operations, 20% improved performance, 1 variable less.Michael Niedermayer2009-03-05
| | | | Originally committed as revision 17839 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Timefilter code by Olivier Guilyardi o list O samalyse o comMichael Niedermayer2009-03-05
| | | | Originally committed as revision 17838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark pos_min and pos_max variables as av_uninit to work around falseDiego Biurrun2009-03-05
| | | | | | positive uninitialized variable warnings. Originally committed as revision 17826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark dvdaudio_substream_type variable as av_uninit to work around falseDiego Biurrun2009-03-05
| | | | | | positive uninitialized variable warning. Originally committed as revision 17825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pass packet position to the parser, so frame's AVPacket.pos is computed ↵Ivan Schreter2009-03-05
| | | | | | correctly. Originally committed as revision 17824 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MOV: fix demuxing fragmented filesAlex Converse2009-03-04
| | | | Originally committed as revision 17803 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a condition that causes an infinite loop, but only when compiled withMike Melanson2009-03-04
| | | | | | gcc 4.2.4 on x86_32. Thanks to Vitor for hunting this down. Originally committed as revision 17802 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split rtsp_send_cmd() into two functions, one for the actual sending of theRonald S. Bultje2009-03-04
| | | | | | | | | command and a second, new function to read the reply to this command. This will make it possible to read server notices that are not in response to a command in future versions, such as EOS or interrupt notices. See "[PATCH] rtsp.c: split rtsp_send_cmd() in a send- and a receive-function" thread. Originally committed as revision 17797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace two 'return AVERROR(EAGAIN);' by continue. The latter are nicerMichael Niedermayer2009-03-03
| | | | | | and the EAGAIN were just added as example not because they made sense. Originally committed as revision 17783 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MOV: fix crash when 'meta' occurs before first 'trak'Alex Converse2009-03-03
| | | | Originally committed as revision 17781 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename "fd1" variable ro "fd". There were previously two variables (fd1 andRonald S. Bultje2009-03-03
| | | | | | | fd2) and one was just removed, so naming the other "fd1" is counter-intuitive. See "[RFC] rtsp.c EOF support" thread. Originally committed as revision 17780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add url_get_file_handle(), which is used to get the file descriptorRonald S. Bultje2009-03-03
| | | | | | | | | | | associated with the I/O handle (e.g. the fd returned by open()). See "[RFC] rtsp.c EOF support" thread. There were previously some URI-specific implementations of the same idea, e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are deprecated by this patch and will be removed at the next major API bump. Originally committed as revision 17779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r17777.Ronald S. Bultje2009-03-03
| | | | Originally committed as revision 17778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make RTSP-MS-over-UDP negotiation work. See "[PATCH] RTSP-MS 8/15: fixRonald S. Bultje2009-03-03
| | | | | | | | | | | RTSP-MS UDP" thread on mailinglist. Basically, UDP setup needs to be done in a particular order (first rtx on two UDP ports (one for RTP, one for RTCP), then the other streams over one, single port for all of them together). Not doing this correctly results in a "461" error (invalid transport) during setup. Originally committed as revision 17777 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Recognize the "application" data type, which is required for WMS/UDPRonald S. Bultje2009-03-03
| | | | | | | | | | | | sessions. This type is used in RTP/ASF (served by WMS servers), and is required to make UDP sessions work, but breaks TCP sessions. Therefore, we disable setup for application streams in TCP/WMS streams. See discussion in "[PATCH] RTSP-MS 8/15: fix RTSP-MS UDP" thread. Originally committed as revision 17776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a context to av_log() calls.Benoit Fouet2009-03-03
| | | | Originally committed as revision 17775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove deprecated vhook subsystem.Diego Biurrun2009-03-03
| | | | Originally committed as revision 17769 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove size_t cast in setting s->priv_data directly to the (integer) fileRonald S. Bultje2009-03-03
| | | | | | | | | descriptor returned by open(). This removes some dubious doublecasts such as priv_data = (void *) (size_t) some_integer, and is always safe on systems we care about because sizeof(int)<=sizeof(void*). See comments from Mans and Michael in "[RFC] rtsp.c EOF support" thread. Originally committed as revision 17768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't let finalize_packet() touch pkt->stream_index. Instead, let individualRonald S. Bultje2009-03-03
| | | | | | | | | | | | | | | | | | | | | payload handlers take care of that themselves at their own option. What this patch really does is "fix" a bug in MS-RTSP protocol where incoming packets are always coming in over the connection (UDP) or interleave-id (TCP) of the stream-id of the first ASF packet in the RTP packet. However, RTP packets may contain multiple ASF packets (and usually do, from what I can see), and therefore this leads to playback bugs. The intended stream-id per ASF packet is given in the respective ASF packet header. The ASF demuxer will correctly read this and set pkt->stream_index, but since the "stream" parameter can not be known to rtpdec.c or any of the RTP/RTSP code, the "st" parameter in all these functions is basically invalid. Therefore, using st->id as pkt->stream_index leads to various playback bugs. The result of this patch is that pkt->stream_index is left untouched for RTP/ASF (and possibly for other payloads that have similar behaviour). The patch was discussed in the "[PATCH] rtpdec.c: don't overwrite pkt->stream_index in finalize_packet()" thread on the mailinglist. Originally committed as revision 17767 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r17764.Ronald S. Bultje2009-03-03
| | | | Originally committed as revision 17765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In the current implementation of rtp_parse_packet(), finalize_packet() isRonald S. Bultje2009-03-03
| | | | | | | | | called for all packets with an internal handler function but only for non-first packets from dynamic payload parse_packet() handlers. This patch fixes that. Bug was noticed by Luca in "[PATCH] rtpdec.c: don't overwrite pkt->stream_index in finalize_packet()" thread. Originally committed as revision 17764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce allocated length of the HTTP authentication request field buffer, asRonald S. Bultje2009-03-03
| | | | | | | | | | | | | noticed by Stefano and Luca in the "[PATCH]RTSP Basic Authentication" mailinglist thread. av_base64_encode() was recently changed. The previous implementation required 12 extra bytes (ceil(len(src)/3.)*4+12), whereas the new one is guaranteed to fit in an exact buffer (ceil(len(src)/3.)*4), plus one extra byte for the trailing zero. This change fixes no bug, it just slightly decreases the amount of allocated memory. Originally committed as revision 17761 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Fix indentation.Diego Biurrun2009-03-03
| | | | Originally committed as revision 17756 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add context to some av_log() calls.Benoit Fouet2009-03-02
| | | | Originally committed as revision 17729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change a bunch of codec long_names to be more consistent and descriptive.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* deprecate old metadata APIAurelien Jacobs2009-03-01
| | | | Originally committed as revision 17690 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix missed usage of old metadata API in mov demuxerAurelien Jacobs2009-03-01
| | | | Originally committed as revision 17689 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new metadata API in libavformat/utils.cAurelien Jacobs2009-03-01
| | | | Originally committed as revision 17687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new metadata API in r3d demuxerAurelien Jacobs2009-03-01
| | | | Originally committed as revision 17686 to svn://svn.ffmpeg.org/ffmpeg/trunk
* new metadata API is now officially part of public APIAurelien Jacobs2009-03-01
| | | | Originally committed as revision 17682 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify metadata conversion and fixes gcc-2.95 at the same timeAurelien Jacobs2009-03-01
| | | | Originally committed as revision 17681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the timebase of the raw demuxer to one that can represent the ts of ↵Michael Niedermayer2009-03-01
| | | | | | fields. Originally committed as revision 17675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable MPEG-1/2 style timestamp calculation for H264. It still randomizesMichael Niedermayer2009-03-01
| | | | | | the timestamps because delay is not known for the first few frames. Originally committed as revision 17674 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some basic metadata conversion tables for matroska and asf.Aurelien Jacobs2009-03-01
| | | | | | Add missing const qualifiers for metadata_conv in AV{In|Out}putFormat. Originally committed as revision 17671 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a metadata conversion APIAurelien Jacobs2009-02-28
| | | | Originally committed as revision 17670 to svn://svn.ffmpeg.org/ffmpeg/trunk