Merge remote-tracking branch 'qatar/master'
* qatar/master: mpegvideo_enc: don't use deprecated avcodec_encode_video(). cmdutils: refactor -codecs option. avconv: make -shortest a per-output file option. lavc: add avcodec_descriptor_get_by_name(). lavc: add const to AVCodec* function parameters. swf(dec): replace CODEC_ID with AV_CODEC_ID dvenc: don't use deprecated AVCODEC_MAX_AUDIO_FRAME_SIZE rtmpdh: Do not generate the same private key every time when using libnettle rtp: remove ff_rtp_get_rtcp_file_handle(). rtsp.c: use ffurl_get_multi_file_handle() instead of ff_rtp_get_rtcp_file_handle() avio: add (ff)url_get_multi_file_handle() for getting more than one fd h264: vdpau: fix crash with unsupported colorspace amrwbdec: Decode the fr_quality bit properly Conflicts: Changelog cmdutils.c cmdutils_common_opts.h doc/ffmpeg.texi ffmpeg.c ffmpeg.h ffmpeg_opt.c libavcodec/h264.c libavcodec/options.c libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -81,6 +81,8 @@ typedef struct URLProtocol {
|
||||
int64_t (*url_read_seek)(URLContext *h, int stream_index,
|
||||
int64_t timestamp, int flags);
|
||||
int (*url_get_file_handle)(URLContext *h);
|
||||
int (*url_get_multi_file_handle)(URLContext *h, int **handles,
|
||||
int *numhandles);
|
||||
int (*url_shutdown)(URLContext *h, int flags);
|
||||
int priv_data_size;
|
||||
const AVClass *priv_data_class;
|
||||
@@ -202,6 +204,13 @@ int64_t ffurl_size(URLContext *h);
|
||||
*/
|
||||
int ffurl_get_file_handle(URLContext *h);
|
||||
|
||||
/**
|
||||
* Return the file descriptors associated with this URL.
|
||||
*
|
||||
* @return 0 on success or <0 on error.
|
||||
*/
|
||||
int ffurl_get_multi_file_handle(URLContext *h, int **handles, int *numhandles);
|
||||
|
||||
/**
|
||||
* Signal the URLContext that we are done reading or writing the stream.
|
||||
*
|
||||
|
Reference in New Issue
Block a user