Use pkg-config for libavcodec detection
Fix flags got from pkgconfig, fix Fedora lib
Merge pull request #70 from borancar/master

Use pkg-config for libavcodec detection