Browse Source

Merge commit '28240a60c1b5ce276e947ba013271ec009adc078'

* commit '28240a60c1b5ce276e947ba013271ec009adc078':
  lavc: move FF_ASPECT_EXTENDED from avcodec.h to h263.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 11 years ago
parent
commit
382545ae62
3 changed files with 9 additions and 0 deletions
  1. +2
    -0
      libavcodec/avcodec.h
  2. +4
    -0
      libavcodec/h263.h
  3. +3
    -0
      libavcodec/version.h

+ 2
- 0
libavcodec/avcodec.h View File

@@ -1326,7 +1326,9 @@ typedef struct AVCodecContext {
*/ */
int coded_width, coded_height; int coded_width, coded_height;


#if FF_API_ASPECT_EXTENDED
#define FF_ASPECT_EXTENDED 15 #define FF_ASPECT_EXTENDED 15
#endif


/** /**
* the number of pictures in a group of pictures, or 0 for intra_only * the number of pictures in a group of pictures, or 0 for intra_only


+ 4
- 0
libavcodec/h263.h View File

@@ -26,6 +26,10 @@
#include "mpegvideo.h" #include "mpegvideo.h"
#include "rl.h" #include "rl.h"


#if !FF_API_ASPECT_EXTENDED
#define FF_ASPECT_EXTENDED 15
#endif

// 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
// be aware though that decreasing them may need the number of stages that is // be aware though that decreasing them may need the number of stages that is


+ 3
- 0
libavcodec/version.h View File

@@ -112,5 +112,8 @@
#ifndef FF_API_OLD_MSMPEG4 #ifndef FF_API_OLD_MSMPEG4
#define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 56) #define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 56)
#endif #endif
#ifndef FF_API_ASPECT_EXTENDED
#define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 56)
#endif


#endif /* AVCODEC_VERSION_H */ #endif /* AVCODEC_VERSION_H */

Loading…
Cancel
Save