2019-04-15 8:26 GMT+02:00, Steven Liu <l...@chinaffmpeg.org>: > Signed-off-by: Steven Liu <l...@chinaffmpeg.org> > --- > 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 ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".