X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Finternal.h;h=4f740c99d1a57604340d9c18ce0a563fadf3ab88;hb=076300bf8b43d5d56a91cd2ad845d596969c87cf;hp=2689b2f48c5399d46859ffbaf1df3391a1d3519a;hpb=507f2940ccdcedf2fdc064c5fb6022b60bace8ca;p=ffmpeg diff --git a/libavformat/internal.h b/libavformat/internal.h index 2689b2f48c5..4f740c99d1a 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -123,7 +123,8 @@ int ff_url_join(char *str, int size, const char *proto, * * @param buff the buffer to append the SDP fragment to * @param size the size of the buff buffer - * @param c the AVCodecContext of the media to describe + * @param st the AVStream of the media to describe + * @param idx the global stream index * @param dest_addr the destination address of the media stream, may be NULL * @param dest_type the destination address type, may be NULL * @param port the destination port of the media stream, 0 if unknown @@ -131,7 +132,7 @@ int ff_url_join(char *str, int size, const char *proto, * @param fmt the AVFormatContext, which might contain options modifying * the generated SDP */ -void ff_sdp_write_media(char *buff, int size, AVCodecContext *c, +void ff_sdp_write_media(char *buff, int size, AVStream *st, int idx, const char *dest_addr, const char *dest_type, int port, int ttl, AVFormatContext *fmt); @@ -239,7 +240,7 @@ AVChapter *avpriv_new_chapter(AVFormatContext *s, int id, AVRational time_base, */ void ff_reduce_index(AVFormatContext *s, int stream_index); -/* +/** * Convert a relative url into an absolute url, given a base url. * * @param buf the buffer where output absolute url is written @@ -354,6 +355,10 @@ void ff_compute_frame_duration(int *pnum, int *pden, AVStream *st, int ff_get_audio_frame_size(AVCodecContext *enc, int size, int mux); +unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum AVCodecID id); + +enum AVCodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag); + /** * Chooses a timebase for muxing the specified stream. *