# HG changeset patch # User glantau # Date 1022366565 0 # Node ID dd4f4c3d71713706763ae0715ad3dec909bc0f6b # Parent c058624083e13df745451cfaedc137ea64b30e5d consistent include usage diff -r c058624083e1 -r dd4f4c3d7171 liba52/a52.h --- a/liba52/a52.h Sat May 25 22:39:29 2002 +0000 +++ b/liba52/a52.h Sat May 25 22:42:45 2002 +0000 @@ -24,6 +24,8 @@ #ifndef A52_H #define A52_H +#include "../avcodec.h" + #ifndef LIBA52_DOUBLE typedef float sample_t; #else diff -r c058624083e1 -r dd4f4c3d7171 liba52/bit_allocate.c --- a/liba52/bit_allocate.c Sat May 25 22:39:29 2002 +0000 +++ b/liba52/bit_allocate.c Sat May 25 22:42:45 2002 +0000 @@ -20,11 +20,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - -#include "config.h" - -#include - #include "a52.h" #include "a52_internal.h" diff -r c058624083e1 -r dd4f4c3d7171 liba52/bitstream.c --- a/liba52/bitstream.c Sat May 25 22:39:29 2002 +0000 +++ b/liba52/bitstream.c Sat May 25 22:42:45 2002 +0000 @@ -21,10 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" - -#include - #include "a52.h" #include "a52_internal.h" #include "bitstream.h" diff -r c058624083e1 -r dd4f4c3d7171 liba52/downmix.c --- a/liba52/downmix.c Sat May 25 22:39:29 2002 +0000 +++ b/liba52/downmix.c Sat May 25 22:42:45 2002 +0000 @@ -21,11 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" - -#include -#include - #include "a52.h" #include "a52_internal.h" diff -r c058624083e1 -r dd4f4c3d7171 liba52/imdct.c --- a/liba52/imdct.c Sat May 25 22:39:29 2002 +0000 +++ b/liba52/imdct.c Sat May 25 22:42:45 2002 +0000 @@ -24,18 +24,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" - -#include -#include -#ifdef LIBA52_DJBFFT -#include -#endif -#ifndef M_PI -#define M_PI 3.1415926535897932384626433832795029 -#endif -#include - #include "a52.h" #include "a52_internal.h" #include "mm_accel.h" diff -r c058624083e1 -r dd4f4c3d7171 liba52/parse.c --- a/liba52/parse.c Sat May 25 22:39:29 2002 +0000 +++ b/liba52/parse.c Sat May 25 22:42:45 2002 +0000 @@ -21,12 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" - -#include -#include -#include - #include "a52.h" #include "a52_internal.h" #include "bitstream.h" diff -r c058624083e1 -r dd4f4c3d7171 ratecontrol.c --- a/ratecontrol.c Sat May 25 22:39:29 2002 +0000 +++ b/ratecontrol.c Sat May 25 22:42:45 2002 +0000 @@ -1,27 +1,24 @@ /* - Copyright (C) 2002 Michael Niedermayer - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - -#include -#include - -#include "common.h" //needed for mpegvideo.h to compile -#include "dsputil.h" //needed for mpegvideo.h to compile + * Rate control for video encoders + * + * Copyright (c) 2002 Michael Niedermayer + * + * This library 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 of the License, or (at your option) any later version. + * + * This library 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 this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #include "avcodec.h" +#include "dsputil.h" #include "mpegvideo.h" #define STATS_FILE "lavc_stats.txt"