[FFmpeg-devel] [PATCH 2/3] avformat/hls: comment out unused function

wm4 nfxjfg at googlemail.com
Sun Aug 23 20:01:30 CEST 2015


On Sat, 22 Aug 2015 22:48:39 -0400
Ganesh Ajjanagadde <gajjanagadde at gmail.com> wrote:

> On Thu, Aug 20, 2015 at 7:27 PM, Ganesh Ajjanagadde
> <gajjanagadde at gmail.com> wrote:
> > Fixes -Wunused-function from
> > http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1
> >
> > Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> > ---
> >  libavformat/hls.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/libavformat/hls.c b/libavformat/hls.c
> > index 82dd744..8a83e40 100644
> > --- a/libavformat/hls.c
> > +++ b/libavformat/hls.c
> > @@ -495,6 +495,7 @@ static int ensure_playlist(HLSContext *c, struct playlist **pls, const char *url
> >      return 0;
> >  }
> >
> > +/* unused
> >  static int open_in(HLSContext *c, AVIOContext **in, const char *url)
> >  {
> >      AVDictionary *tmp = NULL;
> > @@ -506,7 +507,7 @@ static int open_in(HLSContext *c, AVIOContext **in, const char *url)
> >
> >      av_dict_free(&tmp);
> >      return ret;
> > -}
> > +} */
> >
> >  static int url_connect(struct playlist *pls, AVDictionary *opts, AVDictionary *opts2)
> >  {
> > --
> > 2.5.0
> >
> 
> ping, just making sure this was not missed.

Why comment it instead of removing it?


More information about the ffmpeg-devel mailing list