cmake: Fix ffmpeg detection code
authorMike Gilbert <floppym@gentoo.org>
Wed, 29 Feb 2012 05:30:03 +0000 (00:30 -0500)
committerMike Gilbert <floppym@gentoo.org>
Wed, 29 Feb 2012 05:30:03 +0000 (00:30 -0500)
commit13c5e150fd85aef2d6498f1bc75105b9c7f7ba48
treee933ea9a247e28347d46791f62afa5f27e414989
parent2f582205a667c208c27475beca4e8fe6771a55d5
cmake: Fix ffmpeg detection code

ffmpeg headers are supposed to be referenced as libavcodec/avcodec.h.
Therefore, we actually need to find the path to the libavcodec directory, not
avcodec.h.
cmake/FindFFmpeg.cmake