libavsmash: Try to enhance handling of decoder delay.