[FFmpeg-devel] [PATCH] fix tools/probetest compilation

Janne Grunau janne-ffmpeg
Thu May 13 01:42:44 CEST 2010


Hi,

tools/probetest uses internal functions and need -DHAVE_AV_CONFIG_H to
compile. see patch.

current probetest failures:
Failure of swf probing code with score=100 type=3 p=162 size=4
Failure of yop probing code with score=75 type=3 p=AEF size=8
Failure of vqf probing code with score=50 type=3 p=C2A size=8
Failure of mov,mp4,m4a,3gp,3g2,mj2 probing code with score=50 type=3 p=FD1 size=8
Failure of mov,mp4,m4a,3gp,3g2,mj2 probing code with score=100 type=3 p=75 size=8
Failure of nsv probing code with score=80 type=3 p=3C3 size=16
Failure of vmd probing code with score=50 type=1 p=D52 size=16
Failure of idcin probing code with score=50 type=0 p=F7D size=32
Failure of film_cpk probing code with score=100 type=3 p=792 size=32
-------------- next part --------------
diff --git a/Makefile b/Makefile
index 500c5b1..1060c2a 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,8 @@ ffserver_g$(EXESUF): FF_LDFLAGS += $(FFSERVERLDFLAGS)
 %_g$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
 	$(LD) $(FF_LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS)
 
+tools/probetest$(EXESUF): CPPFLAGS += -DHAVE_AV_CONFIG_H
+
 tools/%$(EXESUF): tools/%.o
 	$(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
 



More information about the ffmpeg-devel mailing list