|
@@ -426,26 +426,6 @@ static av_always_inline const FFStream *cffstream(const AVStream *st)
|
|
|
return (const FFStream*)st;
|
|
|
}
|
|
|
|
|
|
-typedef struct FFStreamGroup {
|
|
|
- /**
|
|
|
- * The public context.
|
|
|
- */
|
|
|
- AVStreamGroup pub;
|
|
|
-
|
|
|
- AVFormatContext *fmtctx;
|
|
|
-} FFStreamGroup;
|
|
|
-
|
|
|
-
|
|
|
-static av_always_inline FFStreamGroup *ffstreamgroup(AVStreamGroup *stg)
|
|
|
-{
|
|
|
- return (FFStreamGroup*)stg;
|
|
|
-}
|
|
|
-
|
|
|
-static av_always_inline const FFStreamGroup *cffstreamgroup(const AVStreamGroup *stg)
|
|
|
-{
|
|
|
- return (const FFStreamGroup*)stg;
|
|
|
-}
|
|
|
-
|
|
|
#ifdef __GNUC__
|
|
|
#define dynarray_add(tab, nb_ptr, elem)\
|
|
|
do {\
|
|
@@ -461,9 +441,6 @@ do {\
|
|
|
} while(0)
|
|
|
#endif
|
|
|
|
|
|
-
|
|
|
-void ff_flush_packet_queue(AVFormatContext *s);
|
|
|
-
|
|
|
/**
|
|
|
* Automatically create sub-directories
|
|
|
*
|
|
@@ -591,9 +568,6 @@ void ff_parse_key_value(const char *str, ff_parse_key_val_cb callback_get_buf,
|
|
|
|
|
|
enum AVCodecID ff_guess_image2_codec(const char *filename);
|
|
|
|
|
|
-const struct AVCodec *ff_find_decoder(AVFormatContext *s, const AVStream *st,
|
|
|
- enum AVCodecID codec_id);
|
|
|
-
|
|
|
/**
|
|
|
* Set the time base and wrapping info for a given stream. This will be used
|
|
|
* to interpret the stream's timestamps. If the new time base is invalid
|
|
@@ -615,24 +589,12 @@ void avpriv_set_pts_info(AVStream *st, int pts_wrap_bits,
|
|
|
*/
|
|
|
int ff_framehash_write_header(AVFormatContext *s);
|
|
|
|
|
|
-/**
|
|
|
- * Frees a stream without modifying the corresponding AVFormatContext.
|
|
|
- * Must only be called if the latter doesn't matter or if the stream
|
|
|
- * is not yet attached to an AVFormatContext.
|
|
|
- */
|
|
|
-void ff_free_stream(AVStream **st);
|
|
|
/**
|
|
|
* Remove a stream from its AVFormatContext and free it.
|
|
|
* The stream must be the last stream of the AVFormatContext.
|
|
|
*/
|
|
|
void ff_remove_stream(AVFormatContext *s, AVStream *st);
|
|
|
|
|
|
-/**
|
|
|
- * Frees a stream group without modifying the corresponding AVFormatContext.
|
|
|
- * Must only be called if the latter doesn't matter or if the stream
|
|
|
- * is not yet attached to an AVFormatContext.
|
|
|
- */
|
|
|
-void ff_free_stream_group(AVStreamGroup **pstg);
|
|
|
/**
|
|
|
* Remove a stream group from its AVFormatContext and free it.
|
|
|
* The stream group must be the last stream group of the AVFormatContext.
|
|
@@ -643,8 +605,6 @@ unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum AVCodecID id);
|
|
|
|
|
|
enum AVCodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag);
|
|
|
|
|
|
-int ff_is_intra_only(enum AVCodecID id);
|
|
|
-
|
|
|
/**
|
|
|
* Select a PCM codec based on the given parameters.
|
|
|
*
|
|
@@ -752,9 +712,4 @@ int ff_match_url_ext(const char *url, const char *extensions);
|
|
|
int ff_get_frame_filename(char *buf, int buf_size, const char *path,
|
|
|
int64_t number, int flags);
|
|
|
|
|
|
-struct FFOutputFormat;
|
|
|
-struct FFInputFormat;
|
|
|
-void avpriv_register_devices(const struct FFOutputFormat * const o[],
|
|
|
- const struct FFInputFormat * const i[]);
|
|
|
-
|
|
|
#endif /* AVFORMAT_INTERNAL_H */
|