summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* Remove slash-skipping code because the function called right after thatRonald S. Bultje2009-03-21
| | | | | | | statement (get_word_sep()) already does that all by itself. See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist. Originally committed as revision 18128 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent something where a if () --> { <-- is on a newline rather than on theRonald S. Bultje2009-03-21
| | | | | | | same line as the if. See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist. Originally committed as revision 18127 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Free metadata if already allocated; fixes a memleak if the header occurs twiceRonald S. Bultje2009-03-21
| | | | | | | in a stream (e.g. malicious input, broken file, etc.). See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist. Originally committed as revision 18126 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix silly bug in hex_to_data() where it compares a string pointer for whetherRonald S. Bultje2009-03-21
| | | | | | | | it is '\0' rather than its content (char *p; if (p == '\0') instead of if (*p == '\0')). See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist. Originally committed as revision 18125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless comment about something that is deprecated. See summary inRonald S. Bultje2009-03-21
| | | | | | "[PATCH] rtsp.c small cleanups" thread on mailinglist. Originally committed as revision 18124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use skip_spaces() in the "redir" demuxer instead of "while (isspace(&p)) p++".Ronald S. Bultje2009-03-21
| | | | | | See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist. Originally committed as revision 18123 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge functional code from get_word() and get_word_sep() into a singleRonald S. Bultje2009-03-21
| | | | | | | | | function, since they both do approximately the same thing. At the same time, remove redir_isspace() altogether since code elsewhere (including get_word_sep()) uses strchr() for the same purpose. See summary in "[PATCH] rtsp.c small cleanups" thread. Originally committed as revision 18122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow (and parse) incoming server messages (notices) interleaved with TCPRonald S. Bultje2009-03-21
| | | | | | | | data packets or in addition to UDP data packets, over the RTSP/TCP connection. See discussion in [PATCH] rtsp.c: read TCP server notifications/messages" thread on mailinglist. Originally committed as revision 18121 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a @todo item to use ByteIOContext instead of URLContext at some point inRonald S. Bultje2009-03-21
| | | | | | | the future, requested by Luca in "[PATCH] rtsp.c: read TCP server notifications/messages" thread. Originally committed as revision 18120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove index writing in RM muxer, since it is broken (multiple streams perRonald S. Bultje2009-03-21
| | | | | | | single index chunk) and is always empty anyway. See "[PATCH] rmenc.c: remove index writing" thread. Originally committed as revision 18119 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't allow to sync on packets of zero-size length, since these are neverRonald S. Bultje2009-03-21
| | | | | | valid. See "[PATCH] rmdec.c: prevent zero-length packets" thread. Originally committed as revision 18118 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move "- 12" statement up a bit. See "[PATCH] rmdec.c: prevent zero-lengthRonald S. Bultje2009-03-21
| | | | | | packets" thread. Originally committed as revision 18117 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make Smacker audio decoder output audio in original bit depthDaniel Verkamp2009-03-21
| | | | | | | | | Patch by Daniel Verkamp ($firstname) at (three-letter file extension for drivers in Win 3.1) dot (nu) Thread: [PATCH] Smacker: Output audio in original bit depth Originally committed as revision 18111 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentDavid Conrad2009-03-21
| | | | Originally committed as revision 18102 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix Speex header parsing in ogg demuxerDavid Conrad2009-03-21
| | | | Originally committed as revision 18101 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document ogg_codec's header functionDavid Conrad2009-03-21
| | | | Originally committed as revision 18100 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix compilation when DEBUG_SEEK is definedBaptiste Coudurier2009-03-21
| | | | Originally committed as revision 18099 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix valid seeking rangeBaptiste Coudurier2009-03-21
| | | | Originally committed as revision 18098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* protect realloc overflowBaptiste Coudurier2009-03-21
| | | | Originally committed as revision 18088 to svn://svn.ffmpeg.org/ffmpeg/trunk
* seek backwards 4 bytes if 'fLaC' marker is not foundJustin Ruggles2009-03-21
| | | | Originally committed as revision 18086 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PCX encoder that handles 1-, 8-, and 24-bpp pixfmts.Daniel Verkamp2009-03-20
| | | | | | Patch by Daniel Verkamp, daniel drv nu Originally committed as revision 18077 to svn://svn.ffmpeg.org/ffmpeg/trunk
* resync ffm if error in streamBaptiste Coudurier2009-03-20
| | | | Originally committed as revision 18065 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo, fix eof checkBaptiste Coudurier2009-03-20
| | | | Originally committed as revision 18064 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not write ffm write index by default, detect if file is being written and ↵Baptiste Coudurier2009-03-20
| | | | | | return EOF Originally committed as revision 18063 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add byte reordering for the SIPRO audio codec. See "rmdec.c: add SIPR codecRonald S. Bultje2009-03-20
| | | | | | try #2" thread. Patch originally by Vladimir Voroshilov. Originally committed as revision 18062 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add aRonald S. Bultje2009-03-20
| | | | | | | | SDP line handler that parses the streamID in the SDP so that ASF stream data can be matched to their respective streams in the RTSP demuxer. See "[PATCH] RTSP-MS 12/15: ASF payload support" thread on mailinglist. Originally committed as revision 18061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set avi fsize to INT64_MAX if riff tag end is not set and file size is not ↵Baptiste Coudurier2009-03-19
| | | | | | available Originally committed as revision 18052 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move max analyze duration check before considering new packetBaptiste Coudurier2009-03-19
| | | | Originally committed as revision 18051 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support raw TrueHD filesRamiro Polla2009-03-19
| | | | Originally committed as revision 18049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split TrueHD decoder from MLPRamiro Polla2009-03-19
| | | | Originally committed as revision 18045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MOV: Use the AOT enum for the mp4_audio_types mapping.Alex Converse2009-03-19
| | | | Originally committed as revision 18044 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename GUID typedef to ff_asf_guid to fix MinGW compilation failureReimar Döffinger2009-03-18
| | | | | | (GUID is also defined, but differently, in Windows headers). Originally committed as revision 18032 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a special guidcmp function to compare ASF guids, to avoid the manyReimar Döffinger2009-03-18
| | | | | | duplicated sizeof(GUID). Originally committed as revision 18030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix wrong @file tag.Ronald S. Bultje2009-03-17
| | | | Originally committed as revision 18026 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r18023.Ronald S. Bultje2009-03-17
| | | | Originally committed as revision 18024 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RTP/ASF header parsing, which is part of the SDP of these streams. SeeRonald S. Bultje2009-03-17
| | | | | | patch discussion in "[PATCH] RTSP-MS 10/15: ASF header parsing" thread. Originally committed as revision 18023 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: fix indentation, patch by avcoder, ffmpeg gmail comavcoder2009-03-17
| | | | Originally committed as revision 18022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend mov edit list support to work for a first padding entry withReimar Döffinger2009-03-16
| | | | | | | time == -1 and duration. Complicated since time is relative to stream, duration relative to container time base. Originally committed as revision 18019 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rmdec: fix crash at end of fileMåns Rullgård2009-03-16
| | | | Originally committed as revision 18018 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Re-indent after last commitAlex Converse2009-03-16
| | | | Originally committed as revision 18017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MOV: Support stz2 "Compact Sample Size Box"Alex Converse2009-03-16
| | | | Originally committed as revision 18016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More reindent, forgotten in previous commit.Ronald S. Bultje2009-03-16
| | | | Originally committed as revision 18014 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Parse index chunk so that seeking in modern .rm files becomes a lot faster.Ronald S. Bultje2009-03-16
| | | | | | | Has been tested against streamed / non-seekable input and passes make seektest. See "[PATCH] rmdec.c: parse INDX chunk" thread on mailinglist. Originally committed as revision 18013 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r18010.Ronald S. Bultje2009-03-16
| | | | Originally committed as revision 18011 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark the first output audio frame as keyframe (separate patch from previous,Ronald S. Bultje2009-03-16
| | | | | | | as requested by Kostya). See "[PATCH] rmdec.c: remove cache access duplication". Originally committed as revision 18010 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove packet returning in ff_rm_parse_packet() if we're using the packetRonald S. Bultje2009-03-16
| | | | | | | cache, since this can already be accessed through ff_rm_retrieve_cache(). See "[PATCH] rmdec.c: remove cache access duplication" thread. Originally committed as revision 18009 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r18005.Ronald S. Bultje2009-03-16
| | | | Originally committed as revision 18007 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge code for packet reading in "old" (.ra, audio-only) Realmedia files andRonald S. Bultje2009-03-16
| | | | | | | the newer (.rm, audio/video) files. See "[PATCH] rmdec.c: merge old/new packet reading code" thread on mailinglist. Originally committed as revision 18005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics, remove useless bracesBaptiste Coudurier2009-03-16
| | | | Originally committed as revision 18004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify printingBaptiste Coudurier2009-03-16
| | | | Originally committed as revision 18003 to svn://svn.ffmpeg.org/ffmpeg/trunk