Fix libavcodec problem