diff options
author | Torsten Jager <t.jager@gmx.de> | 2013-09-13 12:50:35 +0200 |
---|---|---|
committer | Torsten Jager <t.jager@gmx.de> | 2013-09-13 12:50:35 +0200 |
commit | ec9999478cc2240e96d754ac79880c401a3e8a6f (patch) | |
tree | a69a2c0050ce8d964a913c81ddbaa55857a09c17 | |
parent | 005a3bd67c9569d5252125c402f6d9b4ae8729f5 (diff) | |
download | xine-lib-ec9999478cc2240e96d754ac79880c401a3e8a6f.tar.gz xine-lib-ec9999478cc2240e96d754ac79880c401a3e8a6f.tar.bz2 |
rebuild avcodec lists after ffmpeg update
Tell me if you have an easier fix for that.
-rw-r--r-- | src/combined/ffmpeg/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/combined/ffmpeg/Makefile.am b/src/combined/ffmpeg/Makefile.am index 3ae65f115..f10bd7022 100644 --- a/src/combined/ffmpeg/Makefile.am +++ b/src/combined/ffmpeg/Makefile.am @@ -37,7 +37,10 @@ AV_CPP = $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAG avcodec_audio.list: AV_CODECS:=/CODEC_ID_PCM_S16LE/,/CODEC_ID_DVD_SUBTITLE/ avcodec_video.list: AV_CODECS:=/CODEC_ID_MPEG1VIDEO/,/CODEC_ID_PCM_S16LE/ -avcodec_audio.list avcodec_video.list: +# that weird shell call just yields full path of the avcodec.h file +avcodec_audio.list avcodec_video.list: $(shell \ + echo '#include "$(srcdir)/ffmpeg_decoder.h"' | $(AV_CPP) -M - |\ + sed -e 's/ \+/\n/g;' | sed -n -e '/avcodec\.h/p;') $(AM_V_GEN)echo '#include "$(srcdir)/ffmpeg_decoder.h"' | $(AV_CPP) - |\ sed -e $(AV_CODECS)'! d; s/^[ \t]*//; s/[=,].*//; /^$$/ d' >$@ |