libavsmash: Try to get codec_id from summaries when getting track if unknown.