Skip to content
Snippets Groups Projects
Commit bb992582 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

_Ffmpeg: Avoid duplicate CODEC_ID_* constants.

parent e5925f70
Branches
Tags
No related merge requests found
...@@ -11,7 +11,7 @@ DUMMY=codecs_auto.h ...@@ -11,7 +11,7 @@ DUMMY=codecs_auto.h
codecs_auto.h: codecs_auto.c Makefile codecs_auto.h: codecs_auto.c Makefile
@echo making codecs_auto.h... @echo making codecs_auto.h...
@$(CPP) -I. $(CFLAGS) $(SRCDIR)/codecs_auto.c | sed -n -e '/CODEC_ID/s/^.*\([A][V][_]\)\(CODEC_ID_[A-Z_0-9]*\),.*$$/ add_integer_constant("\2",\1\2,0);/p' >codecs_auto.h 2>/dev/null || true @$(CPP) -I. $(CFLAGS) $(SRCDIR)/codecs_auto.c | sed -n -e '/CODEC_ID/s/^.*\([A][V][_]\)\(CODEC_ID_[A-Z_0-9]*\),.*$$/ add_integer_constant("\2",\1\2,0);/p' | sort | uniq >codecs_auto.h 2>/dev/null || true
@echo `wc -l <codecs_auto.h` codecs found @echo `wc -l <codecs_auto.h` codecs found
ffmpeg.o: codecs_auto.h ffmpeg.o: codecs_auto.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment