summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/Makefile b/libvo/Makefile
index f2840e9161..cada6146a9 100644
--- a/libvo/Makefile
+++ b/libvo/Makefile
@@ -25,3 +25,5 @@ include ../mpcommon.mak
%.o: %.m
$(CC) $(CFLAGS) -c -o $@ $<
+
+vo_png.o: CFLAGS := $(filter-out -I../libavcodec,$(CFLAGS))