diff dsputil.c @ 10749:5cca4b6c459d libavcodec

Get rid of pointless CONFIG_ANY_H263 preprocessor definition.
author diego
date Wed, 30 Dec 2009 11:33:59 +0000
parents 36611425fedb
children bf309c7ce615
line wrap: on
line diff
--- a/dsputil.c	Wed Dec 30 11:22:41 2009 +0000
+++ b/dsputil.c	Wed Dec 30 11:33:59 2009 +0000
@@ -33,7 +33,6 @@
 #include "faandct.h"
 #include "faanidct.h"
 #include "mathops.h"
-#include "h263.h"
 #include "snow.h"
 #include "mpegvideo.h"
 #include "config.h"
@@ -2876,7 +2875,7 @@
 }
 
 static void h263_v_loop_filter_c(uint8_t *src, int stride, int qscale){
-    if(CONFIG_ANY_H263) {
+    if(CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
     int x;
     const int strength= ff_h263_loop_filter_strength[qscale];
 
@@ -2913,7 +2912,7 @@
 }
 
 static void h263_h_loop_filter_c(uint8_t *src, int stride, int qscale){
-    if(CONFIG_ANY_H263) {
+    if(CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
     int y;
     const int strength= ff_h263_loop_filter_strength[qscale];
 
@@ -4807,7 +4806,7 @@
     c->h264_h_loop_filter_chroma_intra= h264_h_loop_filter_chroma_intra_c;
     c->h264_loop_filter_strength= NULL;
 
-    if (CONFIG_ANY_H263) {
+    if (CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
         c->h263_h_loop_filter= h263_h_loop_filter_c;
         c->h263_v_loop_filter= h263_v_loop_filter_c;
     }