2019-04-15 8:26 GMT+02:00, Steven Liu <[email protected]>:
> Signed-off-by: Steven Liu <[email protected]>
> ---
> libavformat/dashdec.c | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
> index eed149cd1a..b6394403b9 100644
> --- a/libavformat/dashdec.c
> +++ b/libavformat/dashdec.c
> @@ -1161,6 +1161,36 @@ static int
> parse_manifest_adaptationset(AVFormatContext *s, const char *url,
> return 0;
> }
>
> +static int parse_programinformation(AVFormatContext *s, xmlNodePtr node)
> +{
> + xmlNodePtr programinfo_node = NULL;
> + xmlChar *val = NULL;
> + DASHContext *c = s->priv_data;
Unused variable.
> +
> + programinfo_node = xmlFirstElementChild(node);
> + while (programinfo_node) {
> + if (!av_strcasecmp((const char *)programinfo_node->name,
Unneeded cast.
> (const char *)"Title")) {
Unneeded cast.
Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".