updated to compile with libavcodec55