mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
* Move "restrict" fallback to common.h
* Don't include config.h in dsputil.c Originally committed as revision 721 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a86c461c6b
commit
02da51ec60
@ -35,6 +35,11 @@
|
|||||||
|
|
||||||
#endif /* HAVE_AV_CONFIG_H */
|
#endif /* HAVE_AV_CONFIG_H */
|
||||||
|
|
||||||
|
/* Suppress restrict if it was not defined in config.h. */
|
||||||
|
#ifndef restrict
|
||||||
|
#define restrict
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_WIN32
|
#ifdef CONFIG_WIN32
|
||||||
|
|
||||||
/* windows */
|
/* windows */
|
||||||
|
@ -21,12 +21,6 @@
|
|||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "simple_idct.h"
|
#include "simple_idct.h"
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
/* Suppress restrict if it was not defined in config.h */
|
|
||||||
#ifndef restrict
|
|
||||||
#define restrict
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void (*ff_idct)(DCTELEM *block);
|
void (*ff_idct)(DCTELEM *block);
|
||||||
void (*ff_idct_put)(UINT8 *dest, int line_size, DCTELEM *block);
|
void (*ff_idct_put)(UINT8 *dest, int line_size, DCTELEM *block);
|
||||||
|
Loading…
Reference in New Issue
Block a user