Browse Source

Merge commit '277ff7f5dc134f1c2dfc4ea0ef3540340482e3d2'

* commit '277ff7f5dc134f1c2dfc4ea0ef3540340482e3d2':
  lavu: move internal define to the only places where it is used

Conflicts:
	libavcodec/h264_cabac.c
	libavutil/internal.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer 11 years ago
parent
commit
932d8d790c
3 changed files with 2 additions and 3 deletions
  1. +1
    -0
      libavcodec/h263.h
  2. +1
    -0
      libavcodec/h264_cabac.c
  3. +0
    -3
      libavutil/internal.h

+ 1
- 0
libavcodec/h263.h View File

@@ -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


+ 1
- 0
libavcodec/h264_cabac.c View File

@@ -27,6 +27,7 @@


#define CABAC(h) 1 #define CABAC(h) 1
#define UNCHECKED_BITSTREAM_READER 1 #define UNCHECKED_BITSTREAM_READER 1
#define INT_BIT (CHAR_BIT * sizeof(int))


#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"


+ 0
- 3
libavutil/internal.h View File

@@ -80,9 +80,6 @@
# define FF_ENABLE_DEPRECATION_WARNINGS # define FF_ENABLE_DEPRECATION_WARNINGS
#endif #endif


#ifndef INT_BIT
# define INT_BIT (CHAR_BIT * sizeof(int))
#endif


#define FF_MEMORY_POISON 0x2a #define FF_MEMORY_POISON 0x2a




Loading…
Cancel
Save