summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* avio: deprecate url_fgetc and remove all it usesAnton Khirnov2011-03-074-15/+15
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_fgetsAnton Khirnov2011-03-072-1/+5
| | | | | | It's not used anywhere and doesn't look ver useful to be public. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_skip macroPeter Ross2011-03-071-0/+6
| | | | | | | | | This is a substitute for the url_fskip function that was deprecated by commit 0300db8ad778a194b4a8ec98f6da3de5b41c46ee. avio_fskip is provided to improve demuxer code readability. It distinguishes the act of skipping over unknown or irrelevant bytes from the standard avio_seek operation. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add Apple HTTP Live Streaming protocol handlerMartin Storsjö2011-03-063-0/+360
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* URLProtocol: Add URL_PROTOCOL_FLAG_NESTED_SCHEMEMartin Storsjö2011-03-062-1/+10
| | | | | | | | | If this flag is set, the protocol can handle URLs where the scheme is a nested scheme such as applehttp+file: - the protocol can handle any URL where the first segment of the nested scheme belongs to this protocol. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* URLProtocol: Add a flags fieldMartin Storsjö2011-03-061-0/+1
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-0485-388/+389
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: deprecate get_strz() in favor of avio_get_strAnton Khirnov2011-03-045-15/+14
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_get_str()Reimar Döffinger2011-03-042-0/+31
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: fix fourcc if any character is >=0x80.Ronald S. Bultje2011-03-041-1/+4
| | | | Fixes issue 2638.
* libavformat: Add av_pkt_dump{, _log}2, taking an AVStream parameterMartin Storsjö2011-03-022-11/+31
| | | | | | | This removes a fixme issue, by allowing the av_pkt_dump functions to use the correct time base. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aviobuf: Write new data at s->buf_end in fill_bufferMartin Storsjö2011-03-021-1/+1
| | | | | | | | | | | | | | | In most cases, s->buf_ptr will be equal to s->buf_end when fill_buffer is called, but this may not always be the case, if we're seeking forward by reading (permitted by the short seek threshold). If fill_buffer is writing to s->buf_ptr instead of s->buf_end (when they aren't equal and s->buf_ptr is ahead of s->buffer), the data between s->buf_ptr and s->buf_end is overwritten, leading to inconsistent buffer content. This could return incorrect data if later seeking back into the area before the current s->buf_ptr. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* movenc: use correct tag for dvcpro hdBaptiste Coudurier2011-03-021-6/+17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* movenc: fix tkhd height for imxBaptiste Coudurier2011-03-011-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: deprecate url_fskipAnton Khirnov2011-03-012-7/+3
| | | | | | avio_seek should be used instead Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-0162-299/+299
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-0190-347/+352
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* movenc: remove uses of deprecated API.Ronald S. Bultje2011-02-251-4/+4
| | | | Replace put_tag() with ffio_wfourcc() and ByteIOContext with AVIOContext.
* store pasp atom for all types of quicktime movieMaksym Veremeyenko2011-02-251-2/+1
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* reindent after tapt patchMaksym Veremeyenko2011-02-251-5/+5
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* use tapt atom for sample aspect ratioMaksym Veremeyenko2011-02-251-0/+35
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* bink: decode audio track identifiers into AVStream.idPeter Ross2011-02-251-1/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* bink: set audio stream codec_tag such that binkaudio decoder can identify ↵Peter Ross2011-02-251-1/+1
| | | | | | bitstream version Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate put_tagAnton Khirnov2011-02-252-1/+3
| | | | | | it's not used internally anymore and shouldn't be public. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace remaining uses of put_tag with avio_writeAnton Khirnov2011-02-258-17/+20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avienc: replace &tag[0] with tag.Anton Khirnov2011-02-251-7/+7
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: use a new ffio_wfourcc macro instead of put_tag() where possibleAnton Khirnov2011-02-2512-152/+166
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avienc: fix AVI stream index for files with >10 streamslongstone2011-02-232-2/+9
| | | | | | Fixes issue 2563. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename url_fopen/fclose -> avio_open/close.Anton Khirnov2011-02-2312-30/+51
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libavformat: Remove FF_NETERRNO()Martin Storsjö2011-02-237-24/+35
| | | | | | | | | | | | | | Map EAGAIN and EINTR from ff_neterrno to the normal AVERROR() error codes. Provide fallback definitions of other errno.h network errors, mapping them to the corresponding winsock errors. This eases catching these error codes in common code, without having to distinguish between FF_NETERRNO(EAGAIN) and AVERROR(EAGAIN). This fixes roundup issue 2614, unbreaking blocking network IO on windows. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add more AVC Intra FOURCCsBenjamin Larsson2011-02-221-2/+4
| | | | | | | Also change the comments a bit since the FOURCCs aren't specific to Flip4Mac and different ones are used for 720 versus 1080 lines. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegtsenc: use correct PES stream_id for AACTony Strauss2011-02-211-1/+2
| | | | | | | This adds the AAC codec to the list of audio codecs that results in a PES stream_id of 0xc0 (audio stream). Signed-off-by: Mans Rullgard <mans@mansr.com>
* spdifenc.c: fix compile because of missing include avio_internal.h.Ronald S. Bultje2011-02-211-0/+1
|
* avio: make put_nbyte internal.Anton Khirnov2011-02-214-3/+9
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio: avio_ prefixes for put_* functionsAnton Khirnov2011-02-2158-1749/+1784
| | | | | | | | | | | | In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: make get_partial_buffer internal.Anton Khirnov2011-02-214-10/+16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-21107-1778/+1823
| | | | | | | | | | | | | | In the name of consistency: get_byte -> avio_r8 get_<type> -> avio_r<type> get_buffer -> avio_read get_partial_buffer will be made private later get_strz is left out becase I want to change it later to return something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename av_alloc_put_byte -> avio_alloc_context for consistencyAnton Khirnov2011-02-215-5/+26
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Update version and APIchanges.Ronald S. Bultje2011-02-201-1/+1
| | | | | | Update libavformat/version.h and doc/APIChanges after renaming init_put_byte() and ByteIOContext to ffio_init_context() (private) and AVIOContext, (public), and deprecating the originals.
* avio: move init_put_byte() to a new private header and rename itAnton Khirnov2011-02-2014-25/+87
| | | | | | | init_put_byte should never be used outside of lavf, since sizeof(AVIOContext) isn't part of public ABI. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20139-829/+833
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* MMS: also discover streams in extended stream properties objectMarton Balint2011-02-191-0/+28
| | | | | | | Allows playback of nonprimary audio streams in multiple bitrate sources, such as mmsh://wmscr1.dr.dk/e02ch03m Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixesAnton Khirnov2011-02-171-2/+2
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov2011-02-177-59/+35
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Replace remaining uses of parse_date with av_parse_time.Anton Khirnov2011-02-161-2/+3
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Deprecate parse_date() in favor of av_parse_time().Stefano Sabatini2011-02-165-252/+17
| | | | | | | | The new av_parse_time() is created in libavutil/parseutils.h, all the internal functions used by parse_date are moved to libavutil/parseutils.c and made static. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: add av_ prefix to dump_format()Anton Khirnov2011-02-165-6/+26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtsp: udp_read_packet returning 0 doesn't mean successMartin Storsjö2011-02-171-1/+1
| | | | | | | | If udp_read_packet returns 0, rtsp_st isn't set and we shouldn't treat it as a successfully received packet (which is counted and possibly triggers a RTCP receiver report). This fixes issue 2612.
* spdifenc: set flag AVFMT_NOTIMESTAMPSAnssi Hannula2011-02-161-0/+1
| | | | | | There are no timestamps in IEC 61937. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* fix nsvdec.c compilation if DEBUG macro definedMaksym Veremeyenko2011-02-161-1/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>