On Wed, 5 Apr 2017 16:27:48 +0200 Vittorio Giovara <vittorio.giov...@gmail.com> wrote:
> On Wed, Apr 5, 2017 at 4:11 PM, wm4 <nfx...@googlemail.com> wrote: > > On Wed, 5 Apr 2017 15:35:26 +0200 > > Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > > > >> This header was public but deprecated on 2013-04-11 (lavfi 3.8.0). > >> --- > >> libavfilter/Makefile | 1 - > >> libavfilter/avfiltergraph.h | 29 ----------------------------- > >> 2 files changed, 30 deletions(-) > >> delete mode 100644 libavfilter/avfiltergraph.h > >> > >> diff --git a/libavfilter/Makefile b/libavfilter/Makefile > >> index c8d1515d2c..348ad92116 100644 > >> --- a/libavfilter/Makefile > >> +++ b/libavfilter/Makefile > >> @@ -2,7 +2,6 @@ NAME = avfilter > >> DESC = Libav video filtering library > >> > >> HEADERS = avfilter.h \ > >> - avfiltergraph.h \ > >> buffersink.h \ > >> buffersrc.h \ > >> version.h \ > >> diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h > >> deleted file mode 100644 > >> index 47174efc6c..0000000000 > >> --- a/libavfilter/avfiltergraph.h > >> +++ /dev/null > >> @@ -1,29 +0,0 @@ > >> -/* > >> - * Filter graphs > >> - * copyright (c) 2007 Bobby Bingham > >> - * > >> - * This file is part of Libav. > >> - * > >> - * Libav is free software; you can redistribute it and/or > >> - * modify it under the terms of the GNU Lesser General Public > >> - * License as published by the Free Software Foundation; either > >> - * version 2.1 of the License, or (at your option) any later version. > >> - * > >> - * Libav is distributed in the hope that it will be useful, > >> - * but WITHOUT ANY WARRANTY; without even the implied warranty of > >> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > >> - * Lesser General Public License for more details. > >> - * > >> - * You should have received a copy of the GNU Lesser General Public > >> - * License along with Libav; if not, write to the Free Software > >> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA > >> 02110-1301 USA > >> - */ > >> - > >> -#ifndef AVFILTER_AVFILTERGRAPH_H > >> -#define AVFILTER_AVFILTERGRAPH_H > >> - > >> -#include "avfilter.h" > >> -#include "libavutil/log.h" > >> - > >> - > >> -#endif /* AVFILTER_AVFILTERGRAPH_H */ > > > > I guess I should remove it from my code? > > I suppose so, it was well advertised in the APIchange document and > this is breaking season :) How is anyone supposed to notice/remember that? Maybe put a "#warning" into the header when it's deprecated? (Not sure how standard that is, but it could be put under gcc/clang guards.) _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel