[FFmpeg-devel] [RFC PATCH v2] avformat/dashdec: Improve implementation
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sat Apr 10 03:59:33 EEST 2021
zsugabubus:
> Signed-off-by: zsugabubus <zsugabubus at national.shitposting.agency>
> ---
> Should compile fine now.
>
> libavformat/dashdec.c | 4614 +++++++++++++++++++++++++++++++++++++++++++-------------------------------
> libavformat/internal.h | 27 +
> libavformat/utils.c | 47 +
> 3 files changed, 2757 insertions(+), 1931 deletions(-)
>
> /**
> @@ -927,6 +941,19 @@ int ff_unlock_avformat(void);
> */
> void ff_format_set_url(AVFormatContext *s, char *url);
>
> +/*
> + * Set parent for subdemuxer opened s context. Also inherit some basic
> + * properties.
> + */
> +void ff_format_set_parent(AVFormatContext *s, AVFormatContext *parent);
> +
> +/**
> + * Get the AVFormatContext that this context originates from. This context
> + * usually the one that was explicitly created by the user so it is useful for
> + * callbacks that would like to refer that specific context.
> + */
> +AVFormatContext *ff_format_get_origin(AVFormatContext *s);
> +
You have added declarations for these two functions, yet not defined them.
> void avpriv_register_devices(const AVOutputFormat * const o[], const AVInputFormat * const i[]);
>
> #endif /* AVFORMAT_INTERNAL_H */
More information about the ffmpeg-devel
mailing list