Skip to content

Commit

Permalink
fix search path for avdevice.h (#1043)
Browse files Browse the repository at this point in the history
The first search path for avdevice.h should look in the "avdevice" directory, instead of "avformat".

Co-authored-by: Davide Alberani <da@pexta.eu>
  • Loading branch information
alberanid and Davide Alberani committed Jul 22, 2020
1 parent f3ee59c commit 011fbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/modules.mk
Expand Up @@ -89,7 +89,7 @@ USE_AVFORMAT := $(shell ([ -f $(SYSROOT)/include/libavformat/avformat.h ] || \
[ -f $(SYSROOT)/local/include/libavformat/avformat.h ] || \
[ -f $(SYSROOT)/include/$(MACHINE)/libavformat/avformat.h ] || \
[ -f $(SYSROOT_ALT)/include/libavformat/avformat.h ]) && \
([ -f $(SYSROOT)/include/libavformat/avdevice.h ] || \
([ -f $(SYSROOT)/include/libavdevice/avdevice.h ] || \
[ -f $(SYSROOT_LOCAL)/include/libavdevice/avdevice.h ] || \
[ -f $(SYSROOT)/local/include/libavdevice/avdevice.h ] || \
[ -f $(SYSROOT)/include/$(MACHINE)/libavdevice/avdevice.h ] || \
Expand Down

0 comments on commit 011fbd6

Please sign in to comment.