Use pkg-config to find avcodec and swscale