mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
lavu: move internal define to the only places where it is used
This commit is contained in:
parent
065923b078
commit
277ff7f5dc
@ -29,6 +29,7 @@
|
|||||||
#if !FF_API_ASPECT_EXTENDED
|
#if !FF_API_ASPECT_EXTENDED
|
||||||
#define FF_ASPECT_EXTENDED 15
|
#define FF_ASPECT_EXTENDED 15
|
||||||
#endif
|
#endif
|
||||||
|
#define INT_BIT (CHAR_BIT * sizeof(int))
|
||||||
|
|
||||||
// The defines below define the number of bits that are read at once for
|
// The defines below define the number of bits that are read at once for
|
||||||
// reading vlc values. Changing these may improve speed and data cache needs
|
// reading vlc values. Changing these may improve speed and data cache needs
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define CABAC(h) 1
|
#define CABAC(h) 1
|
||||||
|
#define INT_BIT (CHAR_BIT * sizeof(int))
|
||||||
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
#include "libavutil/timer.h"
|
#include "libavutil/timer.h"
|
||||||
|
@ -77,10 +77,6 @@
|
|||||||
# define FF_ENABLE_DEPRECATION_WARNINGS
|
# define FF_ENABLE_DEPRECATION_WARNINGS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef INT_BIT
|
|
||||||
# define INT_BIT (CHAR_BIT * sizeof(int))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Some broken preprocessors need a second expansion
|
// Some broken preprocessors need a second expansion
|
||||||
// to be forced to tokenize __VA_ARGS__
|
// to be forced to tokenize __VA_ARGS__
|
||||||
#define E1(x) x
|
#define E1(x) x
|
||||||
|
Loading…
Reference in New Issue
Block a user