[libav-devel] [PATCH 1/5] xiph: Const correct avpriv_split_xiph_headers arguments

Anton Khirnov anton at khirnov.net
Thu Aug 13 07:47:54 CEST 2015


Quoting Luca Barbato (2015-08-11 12:01:05)
> On 11/08/15 10:12, Anton Khirnov wrote:
> > Quoting Luca Barbato (2015-08-03 22:51:48)
> >> And fix the callers accordingly.
> >>
> >> Address 1 clang warning.
> >> ---
> >>  libavcodec/vorbis_parser.c |  2 +-
> >>  libavcodec/vorbisdec.c     |  2 +-
> >>  libavcodec/vp3.c           |  2 +-
> >>  libavcodec/xiph.c          |  4 ++--
> >>  libavcodec/xiph.h          |  4 ++--
> >>  libavformat/matroskaenc.c  |  2 +-
> >>  libavformat/oggenc.c       | 13 +++++++------
> >>  libavformat/sdp.c          |  2 +-
> >>  8 files changed, 16 insertions(+), 15 deletions(-)
> >>
> > 
> > This adds a warning to oggenc.c.
> 
> Which compiler?
> 

gcc in my case, but any compliant compiler should at least warn about
this.

-- 
Anton Khirnov


More information about the libav-devel mailing list