Added adjustments for libavcodec 53