Browse Source

sws: Fix error diffusion flag

The used flag was mistakenly overlapping with chroma drop

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
f94220ac7a
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      libswscale/swscale.h
  2. +2
    -2
      libswscale/version.h

+ 1
- 1
libswscale/swscale.h View File

@@ -80,9 +80,9 @@ const char *swscale_license(void);
//input subsampling info //input subsampling info
#define SWS_FULL_CHR_H_INP 0x4000 #define SWS_FULL_CHR_H_INP 0x4000
#define SWS_DIRECT_BGR 0x8000 #define SWS_DIRECT_BGR 0x8000
#define SWS_ERROR_DIFFUSION 0x20000
#define SWS_ACCURATE_RND 0x40000 #define SWS_ACCURATE_RND 0x40000
#define SWS_BITEXACT 0x80000 #define SWS_BITEXACT 0x80000
#define SWS_ERROR_DIFFUSION 0x800000


#if FF_API_SWS_CPU_CAPS #if FF_API_SWS_CPU_CAPS
/** /**


+ 2
- 2
libswscale/version.h View File

@@ -27,8 +27,8 @@
#include "libavutil/avutil.h" #include "libavutil/avutil.h"


#define LIBSWSCALE_VERSION_MAJOR 2 #define LIBSWSCALE_VERSION_MAJOR 2
#define LIBSWSCALE_VERSION_MINOR 1
#define LIBSWSCALE_VERSION_MICRO 103
#define LIBSWSCALE_VERSION_MINOR 2
#define LIBSWSCALE_VERSION_MICRO 100


#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
LIBSWSCALE_VERSION_MINOR, \ LIBSWSCALE_VERSION_MINOR, \


Loading…
Cancel
Save