Skip to content

Commit 75ee054

Browse files
check libaries in correct order
1 parent 92b0059 commit 75ee054

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SConstruct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ resampleLibraryName = 'avresample'
128128
if not conf.CheckLibWithHeader('avutil', 'libavutil/avutil.h', 'c'):
129129
sys.exit( 0 )
130130

131-
if not conf.CheckLibWithHeader('avformat', 'libavformat/avformat.h', 'c'):
131+
if not conf.CheckLibWithHeader('avcodec', 'libavcodec/avcodec.h', 'c'):
132132
sys.exit( 0 )
133133

134-
if not conf.CheckLibWithHeader('avcodec', 'libavcodec/avcodec.h', 'c'):
134+
if not conf.CheckLibWithHeader('avformat', 'libavformat/avformat.h', 'c'):
135135
sys.exit( 0 )
136136

137137
if not conf.CheckLibWithHeader('swscale', 'libswscale/swscale.h', 'c'):

0 commit comments

Comments
 (0)