summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* Reorder arguments for av_fifo_generic_read to be more logical andReimar Döffinger2009-03-09
| | | | | | consistent with av_fifo_generic_write. Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent (negative) overflow of rm->remaining_len. This evaluation really onlyRonald S. Bultje2009-03-09
| | | | | | | | | | | has two possible outcomes: either len and rm->remaining_len are the same, in which case we care about the outcome and it is zero, or rm->remaining_len is currently not in use and we don't care about the outcome. In that case, len is positive and rm->remaining_len is zero, which leads to a negative result. This is confusing and could eventually lead to a sign-flip if we skip a lot of packets (unlikely, but still). Therefore, just always set it to zero. Originally committed as revision 17910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace separate packet parsing for "old_format" .ra files by a call toRonald S. Bultje2009-03-09
| | | | | | | | ff_rm_parse_packet(). See "[PATCH] Make RM demuxer behave better with -an option" thread, which sort-of turned into an aggregate of unrelated rmdec.c cleanups. Originally committed as revision 17909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move frame discarding out of the ff_rm_parse_packet() loop, and respectRonald S. Bultje2009-03-09
| | | | | | | | | rm->audio_pkt_cnt in case multiple packets should be read before the next syncpoint in the file, so that ffplay -an on a file containing AAC audio works. See "[PATCH] Make RM demuxer behave better with -an option" thread on mailinglist. Originally committed as revision 17908 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all packets from nuv demuxer as keyframes in order to make seeking work.Reimar Döffinger2009-03-09
| | | | | | For proper seeking, they should be set correctly though. Originally committed as revision 17907 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, to start reading from the first frame we must seek to data_offset,Reimar Döffinger2009-03-09
| | | | | | not 0 in av_seek_frame_generic. Originally committed as revision 17905 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set AVPacket pos also for audio packets in nuv demuxer.Reimar Döffinger2009-03-09
| | | | Originally committed as revision 17904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reindentBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change path pattern to be similar to existing files, and remove useless bufferBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17896 to svn://svn.ffmpeg.org/ffmpeg/trunk
* merge struct declaration and definitionBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write map packet every 100 packets according to specsBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write flt packet, might need some tweaking but it worksBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17893 to svn://svn.ffmpeg.org/ffmpeg/trunk
* correctly interleave audio and video according to specsBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17892 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write timecode track in gxfBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17890 to svn://svn.ffmpeg.org/ffmpeg/trunk
* compute media info in write_headerBaptiste Coudurier2009-03-08
| | | | Originally committed as revision 17889 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize write packetBaptiste Coudurier2009-03-08
| | | | Originally committed as revision 17888 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unneeded and empty user dataBaptiste Coudurier2009-03-08
| | | | Originally committed as revision 17886 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uniformize variable names and remove duplicating fields in private structsBaptiste Coudurier2009-03-08
| | | | Originally committed as revision 17884 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless fieldsBaptiste Coudurier2009-03-08
| | | | Originally committed as revision 17883 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all uses of the replaced av_fifo_read by av_fifo_generic_readReimar Döffinger2009-03-08
| | | | Originally committed as revision 17873 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.Michael Niedermayer2009-03-08
| | | | | | | Yes this breaks ABI/API but ive already broken it and will bump avutil major soon. Originally committed as revision 17869 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VQF demuxerVitor Sessak2009-03-07
| | | | Originally committed as revision 17866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpmap is case-insensitive, see comment from Luca in "[PATCH] rtsp.c:Ronald S. Bultje2009-03-07
| | | | | | keep-alive" thread. Originally committed as revision 17862 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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