On Mon, Sep 01, 2014 at 07:55:39PM +0200, Nedeljko Babic wrote: > From: Jovan Zelincevic <jovan.zelince...@imgtec.com> > > Move existing code to the new template files > > Signed-off-by: Nedeljko Babic <nedeljko.ba...@imgtec.com>
[...] > diff --git a/libavcodec/sinewin_tablegen.c b/libavcodec/sinewin_tablegen.c > index 561ae3e..2013b95 100644 > --- a/libavcodec/sinewin_tablegen.c > +++ b/libavcodec/sinewin_tablegen.c > @@ -19,28 +19,3 @@ > * License along with FFmpeg; if not, write to the Free Software > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 > USA > */ > - > -#include <stdlib.h> > -#define CONFIG_HARDCODED_TABLES 0 > -#define SINETABLE_CONST > -#define SINETABLE(size) \ > - float ff_sine_##size[size] > -#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0])) > -#include "sinewin_tablegen.h" > -#include "tableprint.h" > - > -int main(void) > -{ > - int i; > - > - write_fileheader(); > - > - for (i = 5; i <= 13; i++) { > - ff_init_ff_sine_windows(i); > - printf("SINETABLE(%4i) = {\n", 1 << i); > - write_float_array(ff_sine_windows[i], 1 << i); > - printf("};\n"); > - } > - > - return 0; > -} this file is empty after the change, and i think its not the only one > diff --git a/libavcodec/sinewin_tablegen_template.c > b/libavcodec/sinewin_tablegen_template.c > new file mode 100644 > index 0000000..50eb1a0 > --- /dev/null > +++ b/libavcodec/sinewin_tablegen_template.c why do you rename the table gen stuff? it breaks --enable-hardcoded-tables [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who are too smart to engage in politics are punished by being governed by those who are dumber. -- Plato
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel