Commit ddf50e4c authored by Ramiro Polla's avatar Ramiro Polla Committed by Diego Biurrun

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
parent ac91185f
......@@ -1220,12 +1220,9 @@ EOF
exit 1;
fi
if enabled libtheora && disabled libogg; then
die "libogg must be enabled to enable libtheora."
fi
if enabled libvorbis && disabled libogg; then
die "libogg must be enabled to enable libvorbis."
if disabled libogg; then
enabled libtheora && die "libogg must be enabled to enable libtheora."
enabled libvorbis && die "libogg must be enabled to enable libvorbis."
fi
if enabled_any libfaad libfaadbin ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment