summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc_chain.c
Commit message (Collapse)AuthorAgeFilesLines
* rtpenc_chain: Return an error code instead of just a plain pointerMartin Storsjö2012-05-261-8/+15
| | | | | | Also check the return value in sapenc. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc_chain: Free the URLContext on failureMartin Storsjö2012-05-261-7/+11
| | | | | | | | If an URLContext is passed in, its ownership is given to this function, and is either owned by the returned AVFormatContext on a successful return, or freed on failure. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-271-1/+0
|
* avformat: Pass the interrupt callback on to chained muxers/demuxersMartin Storsjö2011-11-131-0/+2
| | | | | | There are a few more cases of chained demuxers, but they only use custom IO which don't do any blocking IO and thus don't need the callback.
* lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov2011-10-191-1/+1
| | | | | Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
* Remove all uses of deprecated AVOptions API.Anton Khirnov2011-10-121-7/+6
|
* lavf: add avformat_write_header() as a replacement for av_write_header().Anton Khirnov2011-06-161-1/+1
| | | | It supports more convenient setting of AVOptions.
* rtpenc_chain: Pass the rtpflags options through to the chained muxerMartin Storsjö2011-06-101-0/+8
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: make url_fdopen internal.Anton Khirnov2011-04-031-1/+2
| | | | | The unbuffered URLContext API will be made private, so there's no point in this function being public.
* avio: make url_open_dyn_packet_buf internal.Anton Khirnov2011-04-031-1/+2
| | | | | | | It doesn't look fit to be a part of the public API. Adding a temporary hack to ffserver to be able to use it, should be cleaned up when somebody is up for it.
* avio: avio_ prefix for url_close_dyn_bufAnton Khirnov2011-04-031-1/+1
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: rename url_fopen/fclose -> avio_open/close.Anton Khirnov2011-02-231-1/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rtpenc_chain: Don't copy the time_base back to the callerMartin Storsjö2011-02-041-2/+0
| | | | | | | | If required, the caller can do this itself. ff_write_chained rescales timestamps as necessary, and all current callers of rtpenc_chain use ff_write_chained, making this timebase copy unnecessary. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Use avformat_free_context for cleaning up muxersMartin Storsjö2011-02-041-5/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libavformat: Use avcodec_copy_context for chained muxersMartin Storsjö2011-02-041-5/+3
| | | | | | | | | | | | | This avoids having the chained AVStream->codec point to the same AVCodecContext owned by the outer AVStream. The downside is that changes to the AVCodecContext made after calling av_write_header cannot be detected automatically within the chained muxer. This avoids having to manually unlink the chained AVStream->codec by setting it to null before freeing the chained muxer via generic freeing functions. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Free AVStream->info in chained muxersMartin Storsjö2011-02-031-0/+1
| | | | | | | This fixes memory leaks in the RTSP muxer and RTP hinting in the mov muxer present since SVN rev 25418. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtsp: Factorize out code for opening a chained RTP muxerMartin Storsjö2010-10-081-0/+82
The new object file is added to the SDP demuxer in the makefile, since it is needed in both the RTSP muxer and demuxer and in the SDP demuxer, due to the current code coupling. Originally committed as revision 25410 to svn://svn.ffmpeg.org/ffmpeg/trunk