mirror of https://git.ffmpeg.org/ffmpeg.git
Simplify libvorbis/libtheora check for libogg dependency.
patch by Ramiro Polla, ramiro lisha.ufsc br Originally committed as revision 7850 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ac91185fb7
commit
ddf50e4cc3
|
@ -1220,12 +1220,9 @@ EOF
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if enabled libtheora && disabled libogg; then
|
if disabled libogg; then
|
||||||
die "libogg must be enabled to enable libtheora."
|
enabled libtheora && die "libogg must be enabled to enable libtheora."
|
||||||
fi
|
enabled libvorbis && die "libogg must be enabled to enable libvorbis."
|
||||||
|
|
||||||
if enabled libvorbis && disabled libogg; then
|
|
||||||
die "libogg must be enabled to enable libvorbis."
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if enabled_any libfaad libfaadbin ; then
|
if enabled_any libfaad libfaadbin ; then
|
||||||
|
|
Loading…
Reference in New Issue