Support HEVC decoding when using libav
Fix compilation with libav
Merge pull request #138 from qyot27/libav_hevc

libav: compilation fix + HEVC decoding